pub struct AckCommand { /* private fields */ }
Implementations§
Source§impl AckCommand
impl AckCommand
pub fn individual( message_ids: &[MessageIdData], validation_error: impl Into<Option<AckValidationError>>, ) -> Self
pub fn set_consumer_id(&mut self, consumer_id: ConsumerId) -> &mut Self
pub fn set_request_id(&mut self, request_id: RequestId) -> &mut Self
pub fn get_request_id(&self) -> RequestId
Trait Implementations§
Source§impl Clone for AckCommand
impl Clone for AckCommand
Source§fn clone(&self) -> AckCommand
fn clone(&self) -> AckCommand
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 AckCommand
impl Debug for AckCommand
Source§impl From<&AckCommand> for Command
impl From<&AckCommand> for Command
Source§fn from(c: &AckCommand) -> Self
fn from(c: &AckCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for AckCommand
impl RefUnwindSafe for AckCommand
impl Send for AckCommand
impl Sync for AckCommand
impl Unpin for AckCommand
impl UnwindSafe for AckCommand
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
)