[][src]Enum gcp_client::google::cloud::osconfig::agentendpoint::v1beta::software_recipe::step::extract_archive::ArchiveType

#[repr(i32)]pub enum ArchiveType {
    Unspecified,
    Tar,
    TarGzip,
    TarBzip,
    TarLzma,
    TarXz,
    Zip,
}

Specifying the type of archive.

Variants

Unspecified

Indicates that the archive type isn't specified.

Tar

Indicates that the archive is a tar archive with no encryption.

TarGzip

Indicates that the archive is a tar archive with gzip encryption.

TarBzip

Indicates that the archive is a tar archive with bzip encryption.

TarLzma

Indicates that the archive is a tar archive with lzma encryption.

TarXz

Indicates that the archive is a tar archive with xz encryption.

Zip

Indicates that the archive is a zip archive.

Implementations

impl ArchiveType[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of ArchiveType.

pub fn from_i32(value: i32) -> Option<ArchiveType>[src]

Converts an i32 to a ArchiveType, or None if value is not a valid variant.

Trait Implementations

impl Clone for ArchiveType[src]

impl Copy for ArchiveType[src]

impl Debug for ArchiveType[src]

impl Default for ArchiveType[src]

impl Eq for ArchiveType[src]

impl From<ArchiveType> for i32[src]

impl Hash for ArchiveType[src]

impl Ord for ArchiveType[src]

impl PartialEq<ArchiveType> for ArchiveType[src]

impl PartialOrd<ArchiveType> for ArchiveType[src]

impl StructuralEq for ArchiveType[src]

impl StructuralPartialEq for ArchiveType[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]