Struct google_calendar3::api::EventDateTime
source · pub struct EventDateTime {
pub date: Option<NaiveDate>,
pub date_time: Option<DateTime<Utc>>,
pub time_zone: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§date: Option<NaiveDate>
The date, in the format “yyyy-mm-dd”, if this is an all-day event.
date_time: Option<DateTime<Utc>>
The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
time_zone: Option<String>
The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. “Europe/Zurich”.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Trait Implementations§
source§impl Clone for EventDateTime
impl Clone for EventDateTime
source§fn clone(&self) -> EventDateTime
fn clone(&self) -> EventDateTime
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 EventDateTime
impl Debug for EventDateTime
source§impl Default for EventDateTime
impl Default for EventDateTime
source§fn default() -> EventDateTime
fn default() -> EventDateTime
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EventDateTime
impl<'de> Deserialize<'de> for EventDateTime
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 EventDateTime
impl Serialize for EventDateTime
impl Part for EventDateTime
Auto Trait Implementations§
impl RefUnwindSafe for EventDateTime
impl Send for EventDateTime
impl Sync for EventDateTime
impl Unpin for EventDateTime
impl UnwindSafe for EventDateTime
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