pub struct Events {
pub active: HashSet<Event>,
pub ends: Option<DateTime<Local>>,
}
Expand description
Information about the events active in the tavern
Fields§
§active: HashSet<Event>
All of the events active in the tavern
ends: Option<DateTime<Local>>
The time at which all of the events end. Mostly just Sunday 23:59.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Events
impl<'de> Deserialize<'de> for Events
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 Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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