[][src]Struct rusoto_datasync::LocationFilter

pub struct LocationFilter {
    pub name: String,
    pub operator: String,
    pub values: Vec<String>,
}

You can use API filters to narrow down the list of resources returned by ListLocations. For example, to retrieve all your Amazon S3 locations, you can use ListLocations with filter name LocationType S3 and Operator Equals.

Fields

name: String

The name of the filter being used. Each API call supports a list of filters that are available for it (for example, LocationType for ListLocations).

operator: String

The operator that is used to compare filter values (for example, Equals or Contains). For more about API filtering operators, see query-resources.

values: Vec<String>

The values that you want to filter for. For example, you might want to display only Amazon S3 locations.

Trait Implementations

impl Clone for LocationFilter[src]

impl Debug for LocationFilter[src]

impl Default for LocationFilter[src]

impl PartialEq<LocationFilter> for LocationFilter[src]

impl Serialize for LocationFilter[src]

impl StructuralPartialEq for LocationFilter[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> 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> Same<T> for T

type Output = T

Should always be Self

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.