Struct google_photoslibrary1::MediaTypeFilter [−][src]
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
media_types: Option<Vec<String>>
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]
impl Default for MediaTypeFilter
fn default() -> MediaTypeFilter
[src]
fn default() -> MediaTypeFilter
Returns the "default value" for a type. Read more
impl Clone for MediaTypeFilter
[src]
impl Clone for MediaTypeFilter
fn clone(&self) -> MediaTypeFilter
[src]
fn clone(&self) -> MediaTypeFilter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MediaTypeFilter
[src]
impl Debug for MediaTypeFilter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for MediaTypeFilter
[src]
impl Part for MediaTypeFilter
Auto Trait Implementations
impl Send for MediaTypeFilter
impl Send for MediaTypeFilter
impl Sync for MediaTypeFilter
impl Sync for MediaTypeFilter