pub struct RoleEndpoint {
pub role: String,
pub handlers: Vec<Handler>,
}Expand description
A per-role view of a global protocol (§33.5).
Fields§
§role: String§handlers: Vec<Handler>Trait Implementations§
Source§impl Clone for RoleEndpoint
impl Clone for RoleEndpoint
Source§fn clone(&self) -> RoleEndpoint
fn clone(&self) -> RoleEndpoint
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 RoleEndpoint
impl Debug for RoleEndpoint
Source§impl PartialEq for RoleEndpoint
impl PartialEq for RoleEndpoint
impl StructuralPartialEq for RoleEndpoint
Auto Trait Implementations§
impl Freeze for RoleEndpoint
impl RefUnwindSafe for RoleEndpoint
impl Send for RoleEndpoint
impl Sync for RoleEndpoint
impl Unpin for RoleEndpoint
impl UnsafeUnpin for RoleEndpoint
impl UnwindSafe for RoleEndpoint
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