pub struct CustomCli {
pub command: String,
pub display_name: Option<String>,
}Expand description
A custom CLI definition from config.
Fields§
§command: StringCommand or path to the CLI binary.
display_name: Option<String>Optional human-readable display name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CustomCli
impl<'de> Deserialize<'de> for CustomCli
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CustomCli
impl StructuralPartialEq for CustomCli
Auto Trait Implementations§
impl Freeze for CustomCli
impl RefUnwindSafe for CustomCli
impl Send for CustomCli
impl Sync for CustomCli
impl Unpin for CustomCli
impl UnsafeUnpin for CustomCli
impl UnwindSafe for CustomCli
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