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, Global>)
String(String)
Symbol(Symbol)
Trait Implementations
sourceimpl Clone for SimpleValue
 
impl Clone for SimpleValue
sourcefn clone(&self) -> SimpleValue
 
fn clone(&self) -> SimpleValue
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 SimpleValue
 
impl Debug for SimpleValue
sourceimpl<'_> From<&'_ str> for SimpleValue
 
impl<'_> From<&'_ str> for SimpleValue
sourcefn from(string: &str) -> SimpleValue
 
fn from(string: &str) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<()> for SimpleValue
 
impl From<()> for SimpleValue
sourcefn from(original: ()) -> SimpleValue
 
fn from(original: ()) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<Double> for SimpleValue
 
impl From<Double> for SimpleValue
sourcefn from(original: Double) -> SimpleValue
 
fn from(original: Double) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<Float> for SimpleValue
 
impl From<Float> for SimpleValue
sourcefn from(original: Float) -> SimpleValue
 
fn from(original: Float) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<String> for SimpleValue
 
impl From<String> for SimpleValue
sourcefn from(original: String) -> SimpleValue
 
fn from(original: String) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<Symbol> for SimpleValue
 
impl From<Symbol> for SimpleValue
sourcefn from(original: Symbol) -> SimpleValue
 
fn from(original: Symbol) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<Timestamp> for SimpleValue
 
impl From<Timestamp> for SimpleValue
sourcefn from(original: Timestamp) -> SimpleValue
 
fn from(original: Timestamp) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<Uuid> for SimpleValue
 
impl From<Uuid> for SimpleValue
sourcefn from(original: Uuid) -> SimpleValue
 
fn from(original: Uuid) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<bool> for SimpleValue
 
impl From<bool> for SimpleValue
sourcefn from(original: bool) -> SimpleValue
 
fn from(original: bool) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<char> for SimpleValue
 
impl From<char> for SimpleValue
sourcefn from(original: char) -> SimpleValue
 
fn from(original: char) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<i16> for SimpleValue
 
impl From<i16> for SimpleValue
sourcefn from(original: i16) -> SimpleValue
 
fn from(original: i16) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<i32> for SimpleValue
 
impl From<i32> for SimpleValue
sourcefn from(original: i32) -> SimpleValue
 
fn from(original: i32) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<i64> for SimpleValue
 
impl From<i64> for SimpleValue
sourcefn from(original: i64) -> SimpleValue
 
fn from(original: i64) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<i8> for SimpleValue
 
impl From<i8> for SimpleValue
sourcefn from(original: i8) -> SimpleValue
 
fn from(original: i8) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<u16> for SimpleValue
 
impl From<u16> for SimpleValue
sourcefn from(original: u16) -> SimpleValue
 
fn from(original: u16) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<u32> for SimpleValue
 
impl From<u32> for SimpleValue
sourcefn from(original: u32) -> SimpleValue
 
fn from(original: u32) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<u64> for SimpleValue
 
impl From<u64> for SimpleValue
sourcefn from(original: u64) -> SimpleValue
 
fn from(original: u64) -> SimpleValue
Converts to this type from the input type.
sourceimpl From<u8> for SimpleValue
 
impl From<u8> for SimpleValue
sourcefn from(original: u8) -> SimpleValue
 
fn from(original: u8) -> SimpleValue
Converts to this type from the input type.
sourceimpl Hash for SimpleValue
 
impl Hash for SimpleValue
sourceimpl PartialEq<SimpleValue> for SimpleValue
 
impl PartialEq<SimpleValue> for SimpleValue
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &SimpleValue) -> bool
 
fn ne(&self, other: &SimpleValue) -> bool
This method tests for !=.
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
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> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
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)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more