pub enum PacsCmd {
Print,
}
Expand description
Enum of all possible commands
Variants§
Trait Implementations§
Source§impl CommandSet for PacsCmd
impl CommandSet for PacsCmd
Source§fn variants() -> Vec<String>
fn variants() -> Vec<String>
Returns a vector of strings that are the commands supported by this.
Source§fn arguments(&self) -> &'static str
fn arguments(&self) -> &'static str
Returns a string listing the arguments that this command takes, in <>
brackets
Source§fn flags(&self) -> &'static str
fn flags(&self) -> &'static str
Returns a string displaying the flags that this command supports, in []
brackets
Source§fn help_simple(&self) -> String
fn help_simple(&self) -> String
Help string for this variant (build from Display, arguments and flags by
default)
impl StructuralPartialEq for PacsCmd
Auto Trait Implementations§
impl Freeze for PacsCmd
impl RefUnwindSafe for PacsCmd
impl Send for PacsCmd
impl Sync for PacsCmd
impl Unpin for PacsCmd
impl UnwindSafe for PacsCmd
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