pub struct EventState {
pub id: CalendarEventId,
pub kind: CalendarEventKind,
pub title: String,
pub council_meeting_id: Option<CouncilMeetingId>,
pub expected_at: DateTime<Utc>,
pub status: CalendarEventStatus,
pub notes: Option<String>,
pub changed_at: DateTime<Utc>,
}Expand description
A stored event, where its newest change says it stands
Fields§
§id: CalendarEventId§kind: CalendarEventKind§title: String§council_meeting_id: Option<CouncilMeetingId>The meeting, once held
expected_at: DateTime<Utc>§status: CalendarEventStatus§notes: Option<String>§changed_at: DateTime<Utc>When the newest change was made
Implementations§
Source§impl EventState
impl EventState
Sourcepub fn is_sitting(&self) -> bool
pub fn is_sitting(&self) -> bool
A Council sitting, regular or special
Trait Implementations§
Source§impl Clone for EventState
impl Clone for EventState
Source§impl Debug for EventState
impl Debug for EventState
impl Eq for EventState
Source§impl PartialEq for EventState
impl PartialEq for EventState
impl StructuralPartialEq for EventState
Auto Trait Implementations§
impl Freeze for EventState
impl RefUnwindSafe for EventState
impl Send for EventState
impl Sync for EventState
impl Unpin for EventState
impl UnsafeUnpin for EventState
impl UnwindSafe for EventState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.