Struct NamespaceEvent
pub struct NamespaceEvent {
pub namespace: Vec<String>,
pub active: bool,
}Expand description
A namespace the peer published (active) or withdrew
(PUBLISH_NAMESPACE / PUBLISH_NAMESPACE_DONE, draft-14 §9.23, §9.26).
Fields§
§namespace: Vec<String>§active: boolTrait Implementations§
§impl Clone for NamespaceEvent
impl Clone for NamespaceEvent
§fn clone(&self) -> NamespaceEvent
fn clone(&self) -> NamespaceEvent
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 more§impl Debug for NamespaceEvent
impl Debug for NamespaceEvent
impl Eq for NamespaceEvent
§impl PartialEq for NamespaceEvent
impl PartialEq for NamespaceEvent
impl StructuralPartialEq for NamespaceEvent
Auto Trait Implementations§
impl Freeze for NamespaceEvent
impl RefUnwindSafe for NamespaceEvent
impl Send for NamespaceEvent
impl Sync for NamespaceEvent
impl Unpin for NamespaceEvent
impl UnsafeUnpin for NamespaceEvent
impl UnwindSafe for NamespaceEvent
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
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
Checks if this value is equivalent to the given key. Read more
§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.