pub struct SessionCard {
pub attested: SessionAttested,
pub corroborated: SessionCorroborated,
pub declared: SessionDeclared,
}Expand description
What the mailbox knows about one session, split by how sure it can be:
SessionAttested from the kernel, SessionCorroborated from the
process’s own command line, SessionDeclared said by the session
about itself. Kept as three distinct nested structs – never flattened
into one – so the provenance of every field is visible in the type and
survives into the JSON exactly as it should be trusted. See
mailbox-service-extraction-and-signed-session-identity-2026-09-16.md
§5e.
Fields§
§attested: SessionAttested§corroborated: SessionCorroborated§declared: SessionDeclaredImplementations§
Trait Implementations§
Source§impl Clone for SessionCard
impl Clone for SessionCard
Source§impl Debug for SessionCard
impl Debug for SessionCard
Source§impl<'de> Deserialize<'de> for SessionCard
impl<'de> Deserialize<'de> for SessionCard
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 SessionCard
Source§impl PartialEq for SessionCard
impl PartialEq for SessionCard
Source§impl Serialize for SessionCard
impl Serialize for SessionCard
impl StructuralPartialEq for SessionCard
Auto Trait Implementations§
impl Freeze for SessionCard
impl RefUnwindSafe for SessionCard
impl Send for SessionCard
impl Sync for SessionCard
impl Unpin for SessionCard
impl UnsafeUnpin for SessionCard
impl UnwindSafe for SessionCard
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