[][src]Struct supervisor_rs::client::Command

pub struct Command {
    pub op: Ops,
    pub child_name: Option<String>,
    pub prep: Option<Prepositions>,
    pub obj: Option<String>,
}

Fields

op: Opschild_name: Option<String>prep: Option<Prepositions>obj: Option<String>

Methods

impl Command[src]

pub fn new(op: Ops) -> Self[src]

pub fn new_from_string(s: Vec<String>) -> Result<Self>[src]

pub fn new_from_str(s: Vec<&str>) -> Result<Self>[src]

Trait Implementations

impl Debug for Command[src]

Auto Trait Implementations

impl Unpin for Command

impl Sync for Command

impl Send for Command

impl RefUnwindSafe for Command

impl UnwindSafe for Command

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]