pub struct UpdateEventRequest {
pub event_id: String,
pub title: Option<String>,
pub notes: Option<String>,
pub location: Option<String>,
pub start: Option<String>,
pub end: Option<String>,
pub url: Option<String>,
pub alarms: Option<Vec<AlarmParam>>,
pub recurrence: Option<RecurrenceParam>,
}Fields§
§event_id: StringThe unique identifier of the event to update
title: Option<String>New title for the event
notes: Option<String>New notes for the event
location: Option<String>New location for the event
start: Option<String>New start date/time in format ‘YYYY-MM-DD HH:MM’
end: Option<String>New end date/time in format ‘YYYY-MM-DD HH:MM’
url: Option<String>URL to associate (set to empty string to clear)
alarms: Option<Vec<AlarmParam>>Alarms (replaces all existing when provided). Pass empty array to clear.
recurrence: Option<RecurrenceParam>Recurrence rule (replaces existing when provided)
Trait Implementations§
Source§impl Debug for UpdateEventRequest
impl Debug for UpdateEventRequest
Source§impl<'de> Deserialize<'de> for UpdateEventRequest
impl<'de> Deserialize<'de> for UpdateEventRequest
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 UpdateEventRequest
impl JsonSchema for UpdateEventRequest
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 Freeze for UpdateEventRequest
impl RefUnwindSafe for UpdateEventRequest
impl Send for UpdateEventRequest
impl Sync for UpdateEventRequest
impl Unpin for UpdateEventRequest
impl UnsafeUnpin for UpdateEventRequest
impl UnwindSafe for UpdateEventRequest
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