pub struct RawCommand {
pub verb: String,
pub args: String,
}Expand description
A command this layer does not execute, preserved verbatim.
Fields§
§verb: StringCanonical verb when recognized, the first token as written otherwise.
args: StringEverything after the verb, trimmed.
Trait Implementations§
Source§impl Clone for RawCommand
impl Clone for RawCommand
Source§fn clone(&self) -> RawCommand
fn clone(&self) -> RawCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 RawCommand
impl Debug for RawCommand
Source§impl PartialEq for RawCommand
impl PartialEq for RawCommand
impl StructuralPartialEq for RawCommand
Auto Trait Implementations§
impl Freeze for RawCommand
impl RefUnwindSafe for RawCommand
impl Send for RawCommand
impl Sync for RawCommand
impl Unpin for RawCommand
impl UnsafeUnpin for RawCommand
impl UnwindSafe for RawCommand
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