pub struct SubscribeSpec {
pub topic: String,
pub realm: [u8; 32],
pub subscriber: [u8; 32],
}Expand description
Fields for a SUBSCRIBE frame.
Fields§
§topic: String§realm: [u8; 32]§subscriber: [u8; 32]Implementations§
Trait Implementations§
Source§impl Clone for SubscribeSpec
impl Clone for SubscribeSpec
Source§fn clone(&self) -> SubscribeSpec
fn clone(&self) -> SubscribeSpec
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 moreAuto Trait Implementations§
impl Freeze for SubscribeSpec
impl RefUnwindSafe for SubscribeSpec
impl Send for SubscribeSpec
impl Sync for SubscribeSpec
impl Unpin for SubscribeSpec
impl UnsafeUnpin for SubscribeSpec
impl UnwindSafe for SubscribeSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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