pub struct PublishSpec {
pub topic: String,
pub realm: [u8; 32],
pub publisher: [u8; 32],
pub seq: u64,
pub payload: Value,
pub published_at_ms: u64,
pub ttl_ms: Option<u64>,
}Expand description
Fields for a PUBLISH frame.
Fields§
§topic: String§realm: [u8; 32]§publisher: [u8; 32]§seq: u64§payload: Value§published_at_ms: u64§ttl_ms: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for PublishSpec
impl Clone for PublishSpec
Source§fn clone(&self) -> PublishSpec
fn clone(&self) -> PublishSpec
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 PublishSpec
impl RefUnwindSafe for PublishSpec
impl Send for PublishSpec
impl Sync for PublishSpec
impl Unpin for PublishSpec
impl UnsafeUnpin for PublishSpec
impl UnwindSafe for PublishSpec
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