Struct rabbitmq_stream_protocol::commands::deliver::DeliverCommand   
source · [−]pub struct DeliverCommand {
    pub subscription_id: u8,
    pub chunk_first_offset: u64,
    pub messages: Vec<Message>,
    /* private fields */
}Fields
subscription_id: u8chunk_first_offset: u64messages: Vec<Message>Implementations
Trait Implementations
sourceimpl Clone for DeliverCommand
 
impl Clone for DeliverCommand
sourcefn clone(&self) -> DeliverCommand
 
fn clone(&self) -> DeliverCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DeliverCommand
 
impl Debug for DeliverCommand
sourceimpl Decoder for DeliverCommand
 
impl Decoder for DeliverCommand
sourceimpl Encoder for DeliverCommand
 
impl Encoder for DeliverCommand
fn encoded_size(&self) -> u32
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
sourceimpl PartialEq<DeliverCommand> for DeliverCommand
 
impl PartialEq<DeliverCommand> for DeliverCommand
sourcefn eq(&self, other: &DeliverCommand) -> bool
 
fn eq(&self, other: &DeliverCommand) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DeliverCommand) -> bool
 
fn ne(&self, other: &DeliverCommand) -> bool
This method tests for !=.
impl StructuralPartialEq for DeliverCommand
Auto Trait Implementations
impl RefUnwindSafe for DeliverCommand
impl Send for DeliverCommand
impl Sync for DeliverCommand
impl Unpin for DeliverCommand
impl UnwindSafe for DeliverCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more