Struct amq_protocol_codegen::AMQPValueArgument
source · [−]pub struct AMQPValueArgument {
pub amqp_type: AMQPType,
pub name: String,
pub default_value: Option<AMQPValue>,
pub domain: Option<String>,
pub force_default: bool,
}
Expand description
An argument holding a value as defined in the AMQP specification
Fields
amqp_type: AMQPType
The type of the argument’s value
name: String
The name of the argument’s value
default_value: Option<AMQPValue>
The default value of the argument’s value
domain: Option<String>
The domain of the argument’s value
force_default: bool
Whether the default value is forced or not
Trait Implementations
sourceimpl Clone for AMQPValueArgument
impl Clone for AMQPValueArgument
sourcefn clone(&self) -> AMQPValueArgument
fn clone(&self) -> AMQPValueArgument
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AMQPValueArgument
impl Debug for AMQPValueArgument
sourceimpl<'de> Deserialize<'de> for AMQPValueArgument
impl<'de> Deserialize<'de> for AMQPValueArgument
sourcefn 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
sourceimpl PartialEq<AMQPValueArgument> for AMQPValueArgument
impl PartialEq<AMQPValueArgument> for AMQPValueArgument
sourcefn eq(&self, other: &AMQPValueArgument) -> bool
fn eq(&self, other: &AMQPValueArgument) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AMQPValueArgument) -> bool
fn ne(&self, other: &AMQPValueArgument) -> bool
This method tests for !=
.
sourceimpl Serialize for AMQPValueArgument
impl Serialize for AMQPValueArgument
impl StructuralPartialEq for AMQPValueArgument
Auto Trait Implementations
impl RefUnwindSafe for AMQPValueArgument
impl Send for AMQPValueArgument
impl Sync for AMQPValueArgument
impl Unpin for AMQPValueArgument
impl UnwindSafe for AMQPValueArgument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more