pub enum CommonCode {
UsageInvalid,
}Available on crate feature
terminal only.Expand description
The codes pimalaya-cli raises itself, beside every binary’s own vocabulary.
Variants§
UsageInvalid
The command line does not match the grammar: an unknown flag or command, a missing argument, a bad value.
Trait Implementations§
Source§impl Clone for CommonCode
impl Clone for CommonCode
impl Copy for CommonCode
Source§impl Debug for CommonCode
impl Debug for CommonCode
impl Eq for CommonCode
Source§impl JsonSchema for CommonCode
impl JsonSchema for CommonCode
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CommonCode
impl PartialEq for CommonCode
Source§impl Serialize for CommonCode
impl Serialize for CommonCode
impl StructuralPartialEq for CommonCode
Auto Trait Implementations§
impl Forget for CommonCode
impl Freeze for CommonCode
impl Move for CommonCode
impl RefUnwindSafe for CommonCode
impl Send for CommonCode
impl Sync for CommonCode
impl Unpin for CommonCode
impl UnsafeUnpin for CommonCode
impl UnwindSafe for CommonCode
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