Enum rabbitmq_stream_client::types::SimpleValue
source · pub enum SimpleValue {
}
Expand description
Primitive AMQP 1.0 data type
Variants§
Null
Boolean(bool)
Ubyte(u8)
Ushort(u16)
Uint(u32)
Ulong(u64)
Byte(i8)
Short(i16)
Int(i32)
Long(i64)
Float(Float)
Double(Double)
Char(char)
Timestamp(Timestamp)
Uuid(Uuid)
Binary(Vec<u8>)
String(String)
Symbol(Symbol)
Trait Implementations§
source§impl Clone for SimpleValue
impl Clone for SimpleValue
source§fn clone(&self) -> SimpleValue
fn clone(&self) -> SimpleValue
Returns a copy 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 SimpleValue
impl Debug for SimpleValue
source§impl From<&str> for SimpleValue
impl From<&str> for SimpleValue
source§fn from(string: &str) -> SimpleValue
fn from(string: &str) -> SimpleValue
Converts to this type from the input type.
source§impl From<()> for SimpleValue
impl From<()> for SimpleValue
source§fn from(original: ()) -> SimpleValue
fn from(original: ()) -> SimpleValue
Converts to this type from the input type.
source§impl From<Double> for SimpleValue
impl From<Double> for SimpleValue
source§fn from(original: Double) -> SimpleValue
fn from(original: Double) -> SimpleValue
Converts to this type from the input type.
source§impl From<Float> for SimpleValue
impl From<Float> for SimpleValue
source§fn from(original: Float) -> SimpleValue
fn from(original: Float) -> SimpleValue
Converts to this type from the input type.
source§impl From<String> for SimpleValue
impl From<String> for SimpleValue
source§fn from(original: String) -> SimpleValue
fn from(original: String) -> SimpleValue
Converts to this type from the input type.
source§impl From<Symbol> for SimpleValue
impl From<Symbol> for SimpleValue
source§fn from(original: Symbol) -> SimpleValue
fn from(original: Symbol) -> SimpleValue
Converts to this type from the input type.
source§impl From<Timestamp> for SimpleValue
impl From<Timestamp> for SimpleValue
source§fn from(original: Timestamp) -> SimpleValue
fn from(original: Timestamp) -> SimpleValue
Converts to this type from the input type.
source§impl From<Uuid> for SimpleValue
impl From<Uuid> for SimpleValue
source§fn from(original: Uuid) -> SimpleValue
fn from(original: Uuid) -> SimpleValue
Converts to this type from the input type.
source§impl From<bool> for SimpleValue
impl From<bool> for SimpleValue
source§fn from(original: bool) -> SimpleValue
fn from(original: bool) -> SimpleValue
Converts to this type from the input type.
source§impl From<char> for SimpleValue
impl From<char> for SimpleValue
source§fn from(original: char) -> SimpleValue
fn from(original: char) -> SimpleValue
Converts to this type from the input type.
source§impl From<i16> for SimpleValue
impl From<i16> for SimpleValue
source§fn from(original: i16) -> SimpleValue
fn from(original: i16) -> SimpleValue
Converts to this type from the input type.
source§impl From<i32> for SimpleValue
impl From<i32> for SimpleValue
source§fn from(original: i32) -> SimpleValue
fn from(original: i32) -> SimpleValue
Converts to this type from the input type.
source§impl From<i64> for SimpleValue
impl From<i64> for SimpleValue
source§fn from(original: i64) -> SimpleValue
fn from(original: i64) -> SimpleValue
Converts to this type from the input type.
source§impl From<i8> for SimpleValue
impl From<i8> for SimpleValue
source§fn from(original: i8) -> SimpleValue
fn from(original: i8) -> SimpleValue
Converts to this type from the input type.
source§impl From<u16> for SimpleValue
impl From<u16> for SimpleValue
source§fn from(original: u16) -> SimpleValue
fn from(original: u16) -> SimpleValue
Converts to this type from the input type.
source§impl From<u32> for SimpleValue
impl From<u32> for SimpleValue
source§fn from(original: u32) -> SimpleValue
fn from(original: u32) -> SimpleValue
Converts to this type from the input type.
source§impl From<u64> for SimpleValue
impl From<u64> for SimpleValue
source§fn from(original: u64) -> SimpleValue
fn from(original: u64) -> SimpleValue
Converts to this type from the input type.
source§impl From<u8> for SimpleValue
impl From<u8> for SimpleValue
source§fn from(original: u8) -> SimpleValue
fn from(original: u8) -> SimpleValue
Converts to this type from the input type.
source§impl Hash for SimpleValue
impl Hash for SimpleValue
source§impl PartialEq for SimpleValue
impl PartialEq for SimpleValue
source§fn eq(&self, other: &SimpleValue) -> bool
fn eq(&self, other: &SimpleValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SimpleValue
impl StructuralEq for SimpleValue
impl StructuralPartialEq for SimpleValue
Auto Trait Implementations§
impl RefUnwindSafe for SimpleValue
impl Send for SimpleValue
impl Sync for SimpleValue
impl Unpin for SimpleValue
impl UnwindSafe for SimpleValue
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more