Struct google_photoslibrary1::api::MediaTypeFilter [−][src]
Expand description
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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MediaTypeFilter
impl Send for MediaTypeFilter
impl Sync for MediaTypeFilter
impl Unpin for MediaTypeFilter
impl UnwindSafe for MediaTypeFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more