Struct bollard::models::IndexInfo[][src]

pub struct IndexInfo {
    pub name: Option<String>,
    pub mirrors: Option<Vec<String, Global>>,
    pub secure: Option<bool>,
    pub official: Option<bool>,
}

IndexInfo contains information about a registry.

Fields

name: Option<String>

Name of the registry, such as "docker.io".

mirrors: Option<Vec<String, Global>>

List of mirrors, expressed as URIs.

secure: Option<bool>

Indicates if the registry is part of the list of insecure registries. If false, the registry is insecure. Insecure registries accept un-encrypted (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs) communication. > Warning: Insecure registries can be useful when running a local > registry. However, because its use creates security vulnerabilities > it should ONLY be enabled for testing purposes. For increased > security, users should add their CA to their system’s list of > trusted CAs instead of enabling this option.

official: Option<bool>

Indicates whether this is an official registry (i.e., Docker Hub / docker.io)

Trait Implementations

impl Clone for IndexInfo[src]

impl Debug for IndexInfo[src]

impl Default for IndexInfo[src]

impl<'de> Deserialize<'de> for IndexInfo[src]

impl PartialEq<IndexInfo> for IndexInfo[src]

impl Serialize for IndexInfo[src]

impl StructuralPartialEq for IndexInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.