Struct google_photoslibrary1::Filters [−][src]
pub struct Filters { pub date_filter: Option<DateFilter>, pub content_filter: Option<ContentFilter>, pub include_archived_media: Option<bool>, pub exclude_non_app_created_data: Option<bool>, pub media_type_filter: Option<MediaTypeFilter>, }
Filters that can be applied to a media item search. If multiple filter options are specified, they're treated as AND with each other.
This type is not used in any activity, and only used as part of another schema.
Fields
date_filter: Option<DateFilter>
Filters the media items based on their creation date.
content_filter: Option<ContentFilter>
Filters the media items based on their content.
include_archived_media: Option<bool>
If set, the results include media items that the user has archived. Defaults to false (archived media items aren't included).
exclude_non_app_created_data: Option<bool>
If set, the results exclude media items that were not created by this app. Defaults to false (all media items are returned). This field is ignored if the photoslibrary.readonly.appcreateddata scope is used.
media_type_filter: Option<MediaTypeFilter>
Filters the media items based on the type of media.
Trait Implementations
impl Default for Filters
[src]
impl Default for Filters
impl Clone for Filters
[src]
impl Clone for Filters
fn clone(&self) -> Filters
[src]
fn clone(&self) -> Filters
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)
Performs copy-assignment from source
. Read more
impl Debug for Filters
[src]
impl Debug for Filters
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 Filters
[src]
impl Part for Filters