pub struct PreparedImport {
    pub manifest_digest: String,
    pub manifest: ImageManifest,
    pub config: ImageConfiguration,
    pub previous_manifest_digest: Option<String>,
    pub previous_imageid: Option<String>,
    pub ostree_layers: Vec<ManifestLayerState>,
    pub ostree_commit_layer: ManifestLayerState,
    pub layers: Vec<ManifestLayerState>,
}
Expand description

Information about which layers need to be downloaded.

Fields

manifest_digest: String

The manifest digest that was found

manifest: ImageManifest

The deserialized manifest.

config: ImageConfiguration

The deserialized configuration.

previous_manifest_digest: Option<String>

The previously stored manifest digest.

previous_imageid: Option<String>

The previously stored image ID.

ostree_layers: Vec<ManifestLayerState>

The layers containing split objects

ostree_commit_layer: ManifestLayerState

The layer for the ostree commit.

layers: Vec<ManifestLayerState>

Any further non-ostree (derived) layers.

Implementations

Iterate over all layers; the ostree split object layers, the commit layer, and any non-ostree layers.

Iterate over all layers paired with their history entry. An error will be returned if the history does not cover all entries.

Iterate over all layers that are not present, along with their history description.

Trait Implementations

Formats the value using the given formatter. 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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. 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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more