pub struct QueueDefinition {
pub name: String,
pub vhost: VirtualHostName,
pub durable: bool,
pub auto_delete: bool,
pub arguments: XArguments,
}Fields§
§name: String§vhost: VirtualHostName§durable: bool§auto_delete: bool§arguments: XArgumentsImplementations§
Source§impl QueueDefinition
impl QueueDefinition
pub fn update_queue_type(&mut self, typ: QueueType) -> &mut Self
pub fn compare_and_swap_string_argument( &mut self, argument: &str, value: &str, new_value: &str, ) -> &mut Self
pub fn compare_and_swap_overflow_argument( &mut self, value: OverflowBehavior, new_value: OverflowBehavior, ) -> &mut Self
Trait Implementations§
Source§impl Clone for QueueDefinition
impl Clone for QueueDefinition
Source§fn clone(&self) -> QueueDefinition
fn clone(&self) -> QueueDefinition
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 moreSource§impl Debug for QueueDefinition
impl Debug for QueueDefinition
Source§impl<'de> Deserialize<'de> for QueueDefinition
impl<'de> Deserialize<'de> for QueueDefinition
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
Source§impl IdentifiableItem for QueueDefinition
impl IdentifiableItem for QueueDefinition
Source§impl OptionalArgumentSourceOps for QueueDefinition
impl OptionalArgumentSourceOps for QueueDefinition
fn contains_any_keys_of(&self, keys: &[&str]) -> bool
fn has_cmq_keys(&self) -> bool
fn has_quorum_queue_incompatible_keys(&self) -> bool
fn is_empty(&self) -> bool
fn without_keys(&self, keys: &[&str]) -> Self
fn without_cmq_keys(&self) -> Self
fn without_quorum_queue_incompatible_keys(&self) -> Self
Source§impl PartialEq for QueueDefinition
impl PartialEq for QueueDefinition
Source§impl QueueOps for QueueDefinition
impl QueueOps for QueueDefinition
Source§fn queue_type(&self) -> QueueType
fn queue_type(&self) -> QueueType
Returns the
QueueType applicable to the implementation.Source§fn policy_target_type(&self) -> PolicyTarget
fn policy_target_type(&self) -> PolicyTarget
Returns the policy target kind matching the queue type.
Source§fn x_arguments(&self) -> &XArguments
fn x_arguments(&self) -> &XArguments
Returns the x-arguments of this object.
Source§fn is_server_named(&self) -> bool
fn is_server_named(&self) -> bool
Returns true if the queue is server-named.
See the Queues guide to learn more.
Source§fn has_queue_ttl_arg(&self) -> bool
fn has_queue_ttl_arg(&self) -> bool
Returns true if the queue has a queue TTL (expiration) x-argument.
See the TTL guide to learn more.
Source§impl Serialize for QueueDefinition
impl Serialize for QueueDefinition
impl StructuralPartialEq for QueueDefinition
Auto Trait Implementations§
impl Freeze for QueueDefinition
impl RefUnwindSafe for QueueDefinition
impl Send for QueueDefinition
impl Sync for QueueDefinition
impl Unpin for QueueDefinition
impl UnsafeUnpin for QueueDefinition
impl UnwindSafe for QueueDefinition
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more