pub struct Letter {
pub from: String,
pub run: Option<RunId>,
pub kind: LetterKind,
pub sender: Option<String>,
}Expand description
Where a resident’s letter came from, as the city stamped it.
Fields§
§from: StringThe sending room’s address, without the @.
run: Option<RunId>The run that wrote the signal_enqueued line; absent on a signal
rebuilt from history and on a ledger line written before the key.
kind: LetterKind§sender: Option<String>Where the sender stood when the city delivered it (collab D10).
Trait Implementations§
impl Eq for Letter
impl StructuralPartialEq for Letter
Auto Trait Implementations§
impl Freeze for Letter
impl RefUnwindSafe for Letter
impl Send for Letter
impl Sync for Letter
impl Unpin for Letter
impl UnsafeUnpin for Letter
impl UnwindSafe for Letter
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