mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-22 15:22:13 +01:00
with selection impl default
This commit is contained in:
parent
2b49f9c190
commit
9f0021b708
@ -1,17 +1,19 @@
|
|||||||
use std::{
|
use std::{collections::HashMap, ops::Add, sync::Arc};
|
||||||
collections::HashMap,
|
|
||||||
ops::Add,
|
|
||||||
sync::{Arc},
|
|
||||||
};
|
|
||||||
|
|
||||||
use serde::{Serialize};
|
use serde::Serialize;
|
||||||
|
|
||||||
pub fn query() -> Selection {
|
pub fn query() -> Selection {
|
||||||
Selection {
|
Selection::default()
|
||||||
name: None,
|
}
|
||||||
alias: None,
|
|
||||||
args: None,
|
impl Default for Selection {
|
||||||
prev: None,
|
fn default() -> Self {
|
||||||
|
Self {
|
||||||
|
name: Default::default(),
|
||||||
|
alias: Default::default(),
|
||||||
|
args: Default::default(),
|
||||||
|
prev: Default::default(),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user