pub struct LocalCommand {
pub command: &'static str,
pub reason: LocalReason,
pub note: &'static str,
}Expand description
One command of the command line that is not itself a capability, and why.
Fields§
§command: &'static strThe command as a person types it after majordomus: bench baseline update.
reason: LocalReasonWhy it is not a capability.
note: &'static strOne sentence about this command in particular. The reason says which of four structural cases it is; this says what a reader of this command needs to know.
Trait Implementations§
Source§impl Clone for LocalCommand
impl Clone for LocalCommand
Source§fn clone(&self) -> LocalCommand
fn clone(&self) -> LocalCommand
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 moreimpl Copy for LocalCommand
Source§impl Debug for LocalCommand
impl Debug for LocalCommand
impl Eq for LocalCommand
Source§impl PartialEq for LocalCommand
impl PartialEq for LocalCommand
Source§fn eq(&self, other: &LocalCommand) -> bool
fn eq(&self, other: &LocalCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalCommand
Auto Trait Implementations§
impl Freeze for LocalCommand
impl RefUnwindSafe for LocalCommand
impl Send for LocalCommand
impl Sync for LocalCommand
impl Unpin for LocalCommand
impl UnsafeUnpin for LocalCommand
impl UnwindSafe for LocalCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.