pub struct SessionDeclared {
pub working_on: Option<String>,
pub role: Option<String>,
pub parent: Option<SessionId>,
}Expand description
Said by the session about itself – the weakest tier, and the only one a
session can write at all: see MailboxEngine::set_declared, the sole
way this group is ever set.
Fields§
§working_on: Option<String>§role: Option<String>§parent: Option<SessionId>Which session spawned this one, said by this session about itself – not verified against the registry, the same way the rest of this group is not.
Implementations§
Trait Implementations§
Source§impl Clone for SessionDeclared
impl Clone for SessionDeclared
Source§impl Debug for SessionDeclared
impl Debug for SessionDeclared
Source§impl Default for SessionDeclared
impl Default for SessionDeclared
Source§impl<'de> Deserialize<'de> for SessionDeclared
impl<'de> Deserialize<'de> for SessionDeclared
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
impl Eq for SessionDeclared
Source§impl PartialEq for SessionDeclared
impl PartialEq for SessionDeclared
Source§impl Serialize for SessionDeclared
impl Serialize for SessionDeclared
impl StructuralPartialEq for SessionDeclared
Auto Trait Implementations§
impl Freeze for SessionDeclared
impl RefUnwindSafe for SessionDeclared
impl Send for SessionDeclared
impl Sync for SessionDeclared
impl Unpin for SessionDeclared
impl UnsafeUnpin for SessionDeclared
impl UnwindSafe for SessionDeclared
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