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

Filters the media items based on their creation date.

Filters the media items based on their content.

If set, the results include media items that the user has archived. Defaults to false (archived media items aren't included).

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.

Filters the media items based on the type of media.

Trait Implementations

impl Default for Filters
[src]

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

impl Clone for Filters
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Filters
[src]

Formats the value using the given formatter. Read more

impl Part for Filters
[src]

Auto Trait Implementations

impl Send for Filters

impl Sync for Filters