pub struct Endpoint {
pub relay_url: String,
pub slot_id: String,
pub slot_token: String,
pub scope: EndpointScope,
}Expand description
One reachable address for a wire identity. Includes the bearer
slot_token because endpoints flow through the pair_drop body,
which is encrypted at protocol level (signed envelope + bilateral
pin gate from v0.5.14). Token is the slot’s bearer credential; it
MUST stay private to the pair and is never published in the agent
card or phonebook.
Fields§
§relay_url: String§slot_id: String§slot_token: String§scope: EndpointScopeImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Endpoint
impl<'de> Deserialize<'de> for Endpoint
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
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
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