pub enum QueueOperationType {
SendToQueue,
SendToDLQ,
}Expand description
Queue operation type determination
Variants§
SendToQueue
Send to regular queue (copy message content)
SendToDLQ
Send to dead letter queue (use dead_letter_message operation)
Implementations§
Source§impl QueueOperationType
impl QueueOperationType
Sourcepub fn from_queue_name(queue_name: &str) -> Self
pub fn from_queue_name(queue_name: &str) -> Self
Determine operation type based on target queue name
Trait Implementations§
Source§impl Clone for QueueOperationType
impl Clone for QueueOperationType
Source§fn clone(&self) -> QueueOperationType
fn clone(&self) -> QueueOperationType
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for QueueOperationType
impl RefUnwindSafe for QueueOperationType
impl Send for QueueOperationType
impl Sync for QueueOperationType
impl Unpin for QueueOperationType
impl UnwindSafe for QueueOperationType
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