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.0.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