pub struct BuildOptions {
pub canister_name: String,
}Expand description
BuildOptions
Fields§
§canister_name: StringImplementations§
Source§impl BuildOptions
impl BuildOptions
Sourcepub fn parse<I>(args: I) -> Result<Self, BuildCommandError>where
I: IntoIterator<Item = OsString>,
pub fn parse<I>(args: I) -> Result<Self, BuildCommandError>where
I: IntoIterator<Item = OsString>,
Parse build options from CLI arguments.
Trait Implementations§
Source§impl Clone for BuildOptions
impl Clone for BuildOptions
Source§fn clone(&self) -> BuildOptions
fn clone(&self) -> BuildOptions
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 BuildOptions
impl Debug for BuildOptions
Source§impl PartialEq for BuildOptions
impl PartialEq for BuildOptions
Source§fn eq(&self, other: &BuildOptions) -> bool
fn eq(&self, other: &BuildOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BuildOptions
impl StructuralPartialEq for BuildOptions
Auto Trait Implementations§
impl Freeze for BuildOptions
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnsafeUnpin for BuildOptions
impl UnwindSafe for BuildOptions
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