pub struct SnapcraftInvocation {
pub args: Vec<String>,
pub purge_build: bool,
}
Expand description
Represents an invocation of the snapcraft
command.
Fields§
§args: Vec<String>
Arguments to pass to snapcraft
.
purge_build: bool
Whether to purge the build directory before running this command.
Trait Implementations§
Source§impl Clone for SnapcraftInvocation
impl Clone for SnapcraftInvocation
Source§fn clone(&self) -> SnapcraftInvocation
fn clone(&self) -> SnapcraftInvocation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SnapcraftInvocation
impl Debug for SnapcraftInvocation
Source§impl PartialEq for SnapcraftInvocation
impl PartialEq for SnapcraftInvocation
impl Eq for SnapcraftInvocation
impl StructuralPartialEq for SnapcraftInvocation
Auto Trait Implementations§
impl Freeze for SnapcraftInvocation
impl RefUnwindSafe for SnapcraftInvocation
impl Send for SnapcraftInvocation
impl Sync for SnapcraftInvocation
impl Unpin for SnapcraftInvocation
impl UnwindSafe for SnapcraftInvocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.