Struct xo_api_client::Snapshot[][src]

pub struct Snapshot {
    pub id: SnapshotId,
    pub name: String,
    pub vm_name: String,
    pub snapshot_age: Duration,
}
Expand description

Type representing snapshot of a VM

Fields

id: SnapshotIdname: Stringvm_name: Stringsnapshot_age: Duration

Approximation of how much time has passed from the snapshot was created to when this Snapshot object was queried from the server Note that his is only aproximation

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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.

Should always be Self

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.