pub struct CliAction {
pub label: String,
pub bytes: Vec<u8>,
}Expand description
An ad-hoc Action introduced via --action label=<bytes> on the CLI.
bytes is post-decode_bytes_escape (the CLI parser is responsible
for decoding). No UI metadata: the operator gave us a label and a byte
sequence; group/description default to None.
Fields§
§label: String§bytes: Vec<u8>Trait Implementations§
impl Eq for CliAction
impl StructuralPartialEq for CliAction
Auto Trait Implementations§
impl Freeze for CliAction
impl RefUnwindSafe for CliAction
impl Send for CliAction
impl Sync for CliAction
impl Unpin for CliAction
impl UnsafeUnpin for CliAction
impl UnwindSafe for CliAction
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