pub struct Permit {
pub pid: u32,
pub taken_at: DateTime<Utc>,
pub what: Option<String>,
}Expand description
A held seat: who has it, since when, and what for.
Fields§
§pid: u32§taken_at: DateTime<Utc>§what: Option<String>What the holder is doing, for a human reading mecha doctor or a
refusal. Never matched on.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Permit
impl<'de> Deserialize<'de> for Permit
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 Permit
impl RefUnwindSafe for Permit
impl Send for Permit
impl Sync for Permit
impl Unpin for Permit
impl UnsafeUnpin for Permit
impl UnwindSafe for Permit
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