Struct docker_compose::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]

Build an image from an image string.

Return the Image with the tag removed.

Trait Implementations

impl Ord for Image
[src]

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

impl PartialOrd for Image
[src]

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

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

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

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

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]

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

This method tests for !=.

impl Clone for Image
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Image
[src]

Formats the value using the given formatter.

impl Display for Image
[src]

Formats the value using the given formatter.

impl FromStr for Image
[src]

The associated error which can be returned from parsing.

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