pub struct EventPatch {
pub title: Option<String>,
pub when: Option<EventWhen>,
pub location: Option<String>,
pub body: Option<String>,
pub attendees: Option<Vec<MessageFrom>>,
pub online_meeting: Option<bool>,
}Expand description
Fields to change on an event; None leaves a field alone. attendees
is the full new list (the engine computes it from add/remove).
Fields§
§title: Option<String>§when: Option<EventWhen>§location: Option<String>§body: Option<String>§attendees: Option<Vec<MessageFrom>>§online_meeting: Option<bool>Trait Implementations§
Source§impl Clone for EventPatch
impl Clone for EventPatch
Source§impl Debug for EventPatch
impl Debug for EventPatch
Source§impl Default for EventPatch
impl Default for EventPatch
Source§impl<'de> Deserialize<'de> for EventPatch
impl<'de> Deserialize<'de> for EventPatch
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
impl Eq for EventPatch
Source§impl PartialEq for EventPatch
impl PartialEq for EventPatch
Source§impl Serialize for EventPatch
impl Serialize for EventPatch
impl StructuralPartialEq for EventPatch
Auto Trait Implementations§
impl Forget for EventPatch
impl Freeze for EventPatch
impl Move for EventPatch
impl RefUnwindSafe for EventPatch
impl Send for EventPatch
impl Sync for EventPatch
impl Unpin for EventPatch
impl UnsafeUnpin 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.