pub struct Snapshot {
pub messages: Vec<Message>,
pub inbox: Vec<Value>,
pub active: bool,
pub permissions: Vec<Value>,
pub forms: Vec<Value>,
pub now_ms: i64,
}Expand description
Everything one evaluation reads. messages run OLDEST FIRST and are never trimmed at the anchor.
Fields§
§messages: Vec<Message>§inbox: Vec<Value>§active: bool§permissions: Vec<Value>§forms: Vec<Value>§now_ms: i64Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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