pub struct Message {
pub id: String,
pub from: Address,
pub to: String,
pub body: String,
pub wake: bool,
pub reply_to: Option<String>,
pub hops: u8,
pub meta: Option<Value>,
pub access: Access,
}Expand description
A message that reached one of this computer’s agents.
Fields§
§id: String§from: Address§to: String§body: String§wake: bool§reply_to: Option<String>§hops: u8§meta: Option<Value>§access: AccessWhat this computer’s rules say of its sender: the ceiling the agent works on the letter
under, if any (never Deny: such a letter isn’t taken).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Message
impl Freeze for Message
impl Move for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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