[][src]Struct rusoto_glacier::DataRetrievalRule

pub struct DataRetrievalRule {
    pub bytes_per_hour: Option<i64>,
    pub strategy: Option<String>,
}

Data retrieval policy rule.

Fields

bytes_per_hour: Option<i64>

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

strategy: Option<String>

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Trait Implementations

impl PartialEq<DataRetrievalRule> for DataRetrievalRule[src]

impl Clone for DataRetrievalRule[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for DataRetrievalRule[src]

impl Debug for DataRetrievalRule[src]

impl Serialize for DataRetrievalRule[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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<T> Any for T where
    T: 'static + ?Sized
[src]

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self