pub struct CalendarOptions {
pub location_query: Option<Vec<String>>,
pub minus_words: Option<Vec<String>>,
pub people_query: Option<Vec<String>>,
pub response_statuses: Option<Vec<String>>,
pub version_date: Option<DateTime<Utc>>,
}Expand description
Additional options for Calendar search
This type is not used in any activity, and only used as part of another schema.
Fields§
§location_query: Option<Vec<String>>Matches only those events whose location contains all of the words in the given set. If the string contains quoted phrases, this method only matches those events whose location contain the exact phrase. Entries in the set are considered in “and”. Word splitting example: [“New Zealand”] vs [“New”,“Zealand”] “New Zealand”: matched by both “New and better Zealand”: only matched by the later
minus_words: Option<Vec<String>>Matches only those events that do not contain any of the words in the given set in title, description, location, or attendees. Entries in the set are considered in “or”.
people_query: Option<Vec<String>>Matches only those events whose attendees contain all of the words in the given set. Entries in the set are considered in “and”.
response_statuses: Option<Vec<String>>Matches only events for which the custodian gave one of these responses. If the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no filtering on responses.
version_date: Option<DateTime<Utc>>Search the current version of the Calendar event, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
Trait Implementations§
Source§impl Clone for CalendarOptions
impl Clone for CalendarOptions
Source§fn clone(&self) -> CalendarOptions
fn clone(&self) -> CalendarOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CalendarOptions
impl Debug for CalendarOptions
Source§impl Default for CalendarOptions
impl Default for CalendarOptions
Source§fn default() -> CalendarOptions
fn default() -> CalendarOptions
Source§impl<'de> Deserialize<'de> for CalendarOptions
impl<'de> Deserialize<'de> for CalendarOptions
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>,
Source§impl Serialize for CalendarOptions
impl Serialize for CalendarOptions
impl Part for CalendarOptions
Auto Trait Implementations§
impl Freeze for CalendarOptions
impl RefUnwindSafe for CalendarOptions
impl Send for CalendarOptions
impl Sync for CalendarOptions
impl Unpin for CalendarOptions
impl UnwindSafe for CalendarOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more