pub struct EventPatch {
pub description: Option<Option<String>>,
pub start: Option<Option<LooseDateTime>>,
pub end: Option<Option<LooseDateTime>>,
pub status: Option<EventStatus>,
pub summary: Option<String>,
}Expand description
Patch for an event, allowing partial updates.
Fields§
§description: Option<Option<String>>The description of the event, if available.
start: Option<Option<LooseDateTime>>The start date and time of the event, if available.
end: Option<Option<LooseDateTime>>The end date and time of the event, if available.
status: Option<EventStatus>The status of the event, if available.
summary: Option<String>The summary of the event, if available.
Implementations§
Trait Implementations§
Source§impl Clone for EventPatch
impl Clone for EventPatch
Source§fn clone(&self) -> EventPatch
fn clone(&self) -> EventPatch
Returns a duplicate 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 EventPatch
impl Debug for EventPatch
Source§impl Default for EventPatch
impl Default for EventPatch
Source§fn default() -> EventPatch
fn default() -> EventPatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EventPatch
impl RefUnwindSafe for EventPatch
impl Send for EventPatch
impl Sync for EventPatch
impl Unpin for EventPatch
impl UnwindSafe for EventPatch
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
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>
Converts
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>
Converts
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