pub struct LiaisonPeer {
pub name: String,
pub id: Option<String>,
pub principal: String,
pub addressees: Vec<Addressee>,
pub a2a: bool,
pub url: Option<Url>,
}Expand description
One paired peer.
Fields§
§name: StringIts configured name.
id: Option<String>Its peer id, sha256:<hex> of its link key; None for a peer that only signs in over
HTTP.
principal: StringThe subject it acts as (person:<id>, account:<name>, group:<name>); over HTTP, the
person signed in as this subject is this peer.
addressees: Vec<Addressee>What it may write to.
a2a: boolWhether its link grants it a2a/1.
url: Option<Url>Where Liaison dials it to carry Cables sent to it, when it holds no link open itself.
Implementations§
Trait Implementations§
Source§impl Clone for LiaisonPeer
impl Clone for LiaisonPeer
Source§impl Debug for LiaisonPeer
impl Debug for LiaisonPeer
impl Eq for LiaisonPeer
Source§impl PartialEq for LiaisonPeer
impl PartialEq for LiaisonPeer
impl StructuralPartialEq for LiaisonPeer
Auto Trait Implementations§
impl Freeze for LiaisonPeer
impl RefUnwindSafe for LiaisonPeer
impl Send for LiaisonPeer
impl Sync for LiaisonPeer
impl Unpin for LiaisonPeer
impl UnsafeUnpin for LiaisonPeer
impl UnwindSafe for LiaisonPeer
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.