pub struct Ack {
pub ignore_not_found: Option<bool>,
pub key: Option<Vec<Value>>,
pub queue: Option<String>,
}Expand description
Arguments to ack operations.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ignore_not_found: Option<bool>By default, an attempt to ack a message that does not exist will fail with a NOT_FOUND error. With ignore_not_found set to true, the ack will succeed even if the message does not exist. This is useful for unconditionally acking a message, even if it is missing or has already been acked.
key: Option<Vec<Value>>Required. The primary key of the message to be acked.
queue: Option<String>Required. The queue where the message to be acked is stored.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ack
impl<'de> Deserialize<'de> for Ack
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
impl Part for Ack
Auto Trait Implementations§
impl Freeze for Ack
impl RefUnwindSafe for Ack
impl Send for Ack
impl Sync for Ack
impl Unpin for Ack
impl UnwindSafe for Ack
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