pub struct CreateEventParams {
pub calendar: String,
pub summary: String,
pub description: Option<String>,
pub start: String,
pub end: Option<String>,
pub time_zone: Option<String>,
}Expand description
Arguments for calendar_create_event.
Fields§
§calendar: StringCalendar id from calendar_list_calendars. It must hold events.
summary: StringTitle of the event.
description: Option<String>Notes.
start: StringStart: an ISO-8601 date for an all-day event, otherwise a timestamp.
end: Option<String>End. Omit for one hour after the start, or one day for an all-day event.
time_zone: Option<String>IANA time zone name, such as Europe/Berlin. Omit for UTC.
Trait Implementations§
Source§impl Debug for CreateEventParams
impl Debug for CreateEventParams
Source§impl Default for CreateEventParams
impl Default for CreateEventParams
Source§impl<'de> Deserialize<'de> for CreateEventParams
impl<'de> Deserialize<'de> for CreateEventParams
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 JsonSchema for CreateEventParams
impl JsonSchema for CreateEventParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for CreateEventParams
impl Freeze for CreateEventParams
impl Move for CreateEventParams
impl RefUnwindSafe for CreateEventParams
impl Send for CreateEventParams
impl Sync for CreateEventParams
impl Unpin for CreateEventParams
impl UnsafeUnpin for CreateEventParams
impl UnwindSafe for CreateEventParams
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