Struct digitalocean::prelude::Snapshot [] [src]

pub struct Snapshot { /* fields omitted */ }

Snapshots are saved instances of a Droplet or a volume, which is reflected in the resource_type attribute. In order to avoid problems with compressing filesystems, each defines a min_disk_size attribute which is the minimum size of the Droplet or volume disk when creating a new resource from the saved snapshot.

Digital Ocean Documentation.

Methods

impl Snapshot
[src]

[src]

The unique identifier for the snapshot.

[src]

A human-readable name for the snapshot.

[src]

A time value given in ISO8601 combined date and time format that represents when the snapshot was created.

[src]

An array of the regions that the image is available in. The regions are represented by their identifying slug values.

[src]

A unique identifier for the resource that the action is associated with.

[src]

The type of resource that the action is associated with.

[src]

The minimum size in GB required for a volume or Droplet to use this snapshot.

[src]

The billable size of the snapshot in gigabytes.

impl Snapshot
[src]

Trait Implementations

impl Debug for Snapshot
[src]

[src]

Formats the value using the given formatter.

impl Clone for Snapshot
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl HasResponse for Snapshot
[src]