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