pub struct AutoCmd {
    pub id: Option<i64>,
    pub group: Option<i64>,
    pub group_name: Option<String>,
    pub desc: Option<String>,
    pub event: String,
    pub command: Option<String>,
    pub once: bool,
    pub pattern: String,
    pub buflocal: bool,
    pub buffer: Option<i64>,
}

Fields

id: Option<i64>group: Option<i64>group_name: Option<String>desc: Option<String>event: Stringcommand: Option<String>once: boolpattern: Stringbuflocal: boolbuffer: Option<i64>

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Performs the conversion. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.