pub struct CliContract {
pub tool: &'static str,
pub contract_version: u32,
pub summary: &'static str,
pub global_flags: Vec<FlagContract>,
pub scope: Option<ScopeContract>,
pub commands: Vec<CommandContract>,
pub error_codes: Vec<&'static str>,
}Fields§
§tool: &'static str§contract_version: u32§summary: &'static str§global_flags: Vec<FlagContract>§scope: Option<ScopeContract>§commands: Vec<CommandContract>§error_codes: Vec<&'static str>Trait Implementations§
Source§impl Debug for CliContract
impl Debug for CliContract
Auto Trait Implementations§
impl Freeze for CliContract
impl RefUnwindSafe for CliContract
impl Send for CliContract
impl Sync for CliContract
impl Unpin for CliContract
impl UnsafeUnpin for CliContract
impl UnwindSafe for CliContract
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