Struct google_photoslibrary1::MediaTypeFilter[][src]

pub struct MediaTypeFilter {
    pub media_types: Option<Vec<String>>,
}

This filter defines the type of media items to be returned, for example, videos or photos. All the specified media types are treated as an OR when used together.

This type is not used in any activity, and only used as part of another schema.

Fields

The types of media items to be included. This field should be populated with only one media type. If you specify multiple media types, it results in an error.

Trait Implementations

impl Default for MediaTypeFilter
[src]

Returns the "default value" for a type. Read more

impl Clone for MediaTypeFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MediaTypeFilter
[src]

Formats the value using the given formatter. Read more

impl Part for MediaTypeFilter
[src]

Auto Trait Implementations