pub struct Sample {
pub name: Name,
pub publisher: String,
pub seq: u64,
pub payload: Option<Bytes>,
}Expand description
A received publication from a sync group.
Fields§
§name: NameThe full name of the published data.
publisher: StringPublisher identifier (node key from the sync group).
seq: u64Sequence number of this publication.
payload: Option<Bytes>Data payload (fetched automatically if auto_fetch is enabled,
otherwise None — the subscriber only gets the notification).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnwindSafe for Sample
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