pub struct Endpoint {
pub role: String,
pub occupant: Option<AgentKey>,
}Expand description
A (role, occupant) pair; occupant is None for singleton roles
(CON-602).
Fields§
§role: String§occupant: Option<AgentKey>Trait Implementations§
impl Eq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Forget for Endpoint
impl Freeze for Endpoint
impl Move for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpointwhere
RawVecInner: Send,
impl Sync for Endpointwhere
RawVecInner: Sync,
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpointwhere
RawVecInner: UnwindSafe,
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