pub struct EventInfo {
pub name: String,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub location: Option<String>,
pub url: Option<String>,
}Expand description
One event referenced in the message.
Fields§
§name: StringEvent name.
start_date: Option<String>ISO-8601 start date / time.
end_date: Option<String>ISO-8601 end date / time.
location: Option<String>Location string.
url: Option<String>Detail URL (registration page, etc).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventInfo
impl<'de> Deserialize<'de> for EventInfo
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
Auto Trait Implementations§
impl Freeze for EventInfo
impl RefUnwindSafe for EventInfo
impl Send for EventInfo
impl Sync for EventInfo
impl Unpin for EventInfo
impl UnsafeUnpin for EventInfo
impl UnwindSafe for EventInfo
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