pub struct UpdateEventParams {
pub id: String,
pub etag: String,
pub summary: Option<String>,
pub description: Option<String>,
pub start: Option<String>,
pub end: Option<String>,
pub time_zone: Option<String>,
pub occurrence: Option<String>,
}Expand description
Arguments for calendar_update_event.
Fields§
§id: StringOpaque event id.
etag: StringThe etag from the last read. A different one means the event changed.
summary: Option<String>New title. Omit to keep it.
description: Option<String>New notes. Omit to keep them.
start: Option<String>New start. Omit to keep it.
end: Option<String>New end. Omit to keep it.
time_zone: Option<String>IANA time zone for the new times. Omit to keep the event’s zone.
occurrence: Option<String>For a repeating event: the recurrence_id of one occurrence to change on its own.
Omit to change the whole series. Changing one occurrence needs start and end.
Trait Implementations§
Source§impl Debug for UpdateEventParams
impl Debug for UpdateEventParams
Source§impl Default for UpdateEventParams
impl Default for UpdateEventParams
Source§impl<'de> Deserialize<'de> for UpdateEventParams
impl<'de> Deserialize<'de> for UpdateEventParams
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 UpdateEventParams
impl JsonSchema for UpdateEventParams
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 UpdateEventParams
impl Freeze for UpdateEventParams
impl Move for UpdateEventParams
impl RefUnwindSafe for UpdateEventParams
impl Send for UpdateEventParams
impl Sync for UpdateEventParams
impl Unpin for UpdateEventParams
impl UnsafeUnpin for UpdateEventParams
impl UnwindSafe for UpdateEventParams
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