pub struct BatchPubAck {
pub stream: String,
pub sequence: u64,
pub domain: Option<String>,
pub batch_id: String,
pub batch_size: u64,
}Expand description
Acknowledgment returned after successfully committing a batch.
Contains information about the committed batch including the stream it was published to, the sequence number, and batch metadata.
Fields§
§stream: StringThe stream the batch was published to.
sequence: u64The stream sequence number of the last message in the batch.
domain: Option<String>The domain the stream belongs to, if any.
batch_id: StringThe unique identifier for the batch.
batch_size: u64The number of messages in the committed batch.
Trait Implementations§
Source§impl Debug for BatchPubAck
impl Debug for BatchPubAck
Source§impl<'de> Deserialize<'de> for BatchPubAck
impl<'de> Deserialize<'de> for BatchPubAck
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
Auto Trait Implementations§
impl Freeze for BatchPubAck
impl RefUnwindSafe for BatchPubAck
impl Send for BatchPubAck
impl Sync for BatchPubAck
impl Unpin for BatchPubAck
impl UnwindSafe for BatchPubAck
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