Struct compose_yml::v2::Image [] [src]

pub struct Image {
    pub registry_host: Option<RegistryHost>,
    pub user_name: Option<String>,
    pub name: String,
    pub tag: Option<String>,
}

The name of an external resource, and an optional local alias to which it is mapped inside a container. Our fields names are based on the docker documentation.

Fields

The server running our Docker registry.

The name of the user account on the Docker registry.

The name of this image.

A tag identifying a specific version in our image registry.

Methods

impl Image
[src]

[src]

Build an image from an image string.

[src]

Return the Image with the tag removed.

Trait Implementations

impl Ord for Image
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for Image
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for Image
[src]

impl PartialEq for Image
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for Image
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Image
[src]

[src]

Formats the value using the given formatter.

impl Display for Image
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Image
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more