pub struct Configs {
    pub locked: Option<bool>,
    pub min_confirmations: Option<i32>,
    pub min_update_delay_seconds: Option<i64>,
    pub schedule: Option<String>,
}

Fields

locked: Option<bool>min_confirmations: Option<i32>min_update_delay_seconds: Option<i64>schedule: Option<String>

Trait Implementations

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more

Deserialize this instance from a slice of bytes.

Serialize this instance into a vector of bytes.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Constructs an instance of Self by reading from the given bytes via the given reader. Read more

Computes necessary binary size of self once serialized in protobuf

Writes Self into W writer

Writes self into a file

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.