Struct google_photoslibrary1::api::DateFilter
source · pub struct DateFilter {
pub dates: Option<Vec<Date>>,
pub ranges: Option<Vec<DateRange>>,
}
Expand description
This filter defines the allowed dates or date ranges for the media returned. It’s possible to pick a set of specific dates and a set of date ranges. Media items uploaded without metadata specifying the date the media item was captured will not be returned in queries using date filters. Google Photos server upload time is not used as a fallback in this case.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dates: Option<Vec<Date>>
List of dates that match the media items’ creation date. A maximum of 5 dates can be included per request.
ranges: Option<Vec<DateRange>>
List of dates ranges that match the media items’ creation date. A maximum of 5 dates ranges can be included per request.
Trait Implementations§
source§impl Clone for DateFilter
impl Clone for DateFilter
source§fn clone(&self) -> DateFilter
fn clone(&self) -> DateFilter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DateFilter
impl Debug for DateFilter
source§impl Default for DateFilter
impl Default for DateFilter
source§fn default() -> DateFilter
fn default() -> DateFilter
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DateFilter
impl<'de> Deserialize<'de> for DateFilter
source§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
source§impl Serialize for DateFilter
impl Serialize for DateFilter
impl Part for DateFilter
Auto Trait Implementations§
impl RefUnwindSafe for DateFilter
impl Send for DateFilter
impl Sync for DateFilter
impl Unpin for DateFilter
impl UnwindSafe for DateFilter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more