pub struct QueueWithdrawMessageRequest {
pub expected_prompt: String,
pub message_id: String,
}Expand description
Conditional withdrawal of a single user message, before the runtime claims it for delivery.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§expected_prompt: StringThe prompt originally sent. A message edited since submission is not withdrawn, so an obsolete draft cannot replace the edit.
message_id: StringMessage identity returned by send, not the queue item id. Batch messages are not eligible.
Trait Implementations§
Source§impl Clone for QueueWithdrawMessageRequest
impl Clone for QueueWithdrawMessageRequest
Source§impl Debug for QueueWithdrawMessageRequest
impl Debug for QueueWithdrawMessageRequest
Source§impl<'de> Deserialize<'de> for QueueWithdrawMessageRequest
impl<'de> Deserialize<'de> for QueueWithdrawMessageRequest
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 QueueWithdrawMessageRequest
impl RefUnwindSafe for QueueWithdrawMessageRequest
impl Send for QueueWithdrawMessageRequest
impl Sync for QueueWithdrawMessageRequest
impl Unpin for QueueWithdrawMessageRequest
impl UnsafeUnpin for QueueWithdrawMessageRequest
impl UnwindSafe for QueueWithdrawMessageRequest
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