pub struct PublishAck {
pub stream: String,
pub sequence: u64,
pub domain: String,
pub duplicate: bool,
}
Expand description
PublishAck
is an acknowledgment received after successfully publishing a message.
Fields§
§stream: String
Name of stream the message was published to.
sequence: u64
Sequence number the message was published in.
domain: String
Domain the message was published to
duplicate: bool
True if the published message was determined to be a duplicate, false otherwise.
Trait Implementations§
source§impl Clone for PublishAck
impl Clone for PublishAck
source§fn clone(&self) -> PublishAck
fn clone(&self) -> PublishAck
Returns a copy of the value. Read more
1.6.0 · 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 PublishAck
impl Debug for PublishAck
source§impl Default for PublishAck
impl Default for PublishAck
source§fn default() -> PublishAck
fn default() -> PublishAck
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PublishAck
impl<'de> Deserialize<'de> for PublishAck
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for PublishAck
impl PartialEq for PublishAck
impl Eq for PublishAck
impl StructuralPartialEq for PublishAck
Auto Trait Implementations§
impl Freeze for PublishAck
impl RefUnwindSafe for PublishAck
impl Send for PublishAck
impl Sync for PublishAck
impl Unpin for PublishAck
impl UnwindSafe for PublishAck
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)