pub struct ListOptions {
pub root: Option<String>,
pub registry_json: Option<String>,
pub canister: Option<String>,
pub network: Option<String>,
pub dfx: String,
}Expand description
ListOptions
Fields§
§root: Option<String>§registry_json: Option<String>§canister: Option<String>§network: Option<String>§dfx: StringImplementations§
Source§impl ListOptions
impl ListOptions
Sourcepub fn parse<I>(args: I) -> Result<Self, ListCommandError>where
I: IntoIterator<Item = OsString>,
pub fn parse<I>(args: I) -> Result<Self, ListCommandError>where
I: IntoIterator<Item = OsString>,
Parse canister listing options from CLI arguments.
Trait Implementations§
Source§impl Clone for ListOptions
impl Clone for ListOptions
Source§fn clone(&self) -> ListOptions
fn clone(&self) -> ListOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListOptions
impl Debug for ListOptions
Source§impl PartialEq for ListOptions
impl PartialEq for ListOptions
Source§fn eq(&self, other: &ListOptions) -> bool
fn eq(&self, other: &ListOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ListOptions
impl StructuralPartialEq for ListOptions
Auto Trait Implementations§
impl Freeze for ListOptions
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnsafeUnpin for ListOptions
impl UnwindSafe for ListOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more