pub struct OriginAttachment {
pub origin: String,
pub session_zid: Option<String>,
pub reporter_zid: String,
pub token_key: String,
}Expand description
One liveliness origin attached to the session that declared its token — the #131 join, evidence-first: an attachment is made only from what the admin space actually said, never guessed (a guessed attachment would be the O4 failure on a picture).
Fields§
§origin: StringThe origin the token names (h-… or @service).
session_zid: Option<String>The declaring session’s zid, when the token’s admin sources names
exactly one. None = the sources were absent or ambiguous — the
origin is then only reported by the answering admin space, and a
renderer says so instead of drawing a line it cannot back.
reporter_zid: StringThe admin space that reported the token: the origin’s own session in a peer mesh serving its admin space, a router in a routed one.
token_key: StringThe token key the evidence rode — the audit trail.
Trait Implementations§
Source§impl Clone for OriginAttachment
impl Clone for OriginAttachment
Source§fn clone(&self) -> OriginAttachment
fn clone(&self) -> OriginAttachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OriginAttachment
impl Debug for OriginAttachment
Auto Trait Implementations§
impl Freeze for OriginAttachment
impl RefUnwindSafe for OriginAttachment
impl Send for OriginAttachment
impl Sync for OriginAttachment
impl Unpin for OriginAttachment
impl UnsafeUnpin for OriginAttachment
impl UnwindSafe for OriginAttachment
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more