Enum tibco_ems::TypedValue
source · [−]pub enum TypedValue {
String(String),
Integer(i32),
Long(i64),
Float(f32),
Double(f64),
Binary(Vec<u8>),
Map(MapMessage),
Boolean(bool),
}
Expand description
represents a typed value, which is used for message header and message properties
Variants
String(String)
represents a String Value
Integer(i32)
represents a integer Value
Long(i64)
represents a long Value
Float(f32)
represents a float Value
Double(f64)
represents a double Value
Binary(Vec<u8>)
represents a binary Value
Map(MapMessage)
represents a MapMessage Value
Boolean(bool)
represents a boolean Value
Trait Implementations
sourceimpl Clone for TypedValue
impl Clone for TypedValue
sourcefn clone(&self) -> TypedValue
fn clone(&self) -> TypedValue
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 TypedValue
impl Debug for TypedValue
sourceimpl<'de> Deserialize<'de> for TypedValue
impl<'de> Deserialize<'de> for TypedValue
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<TypedValue> for TypedValue
impl PartialEq<TypedValue> for TypedValue
sourcefn eq(&self, other: &TypedValue) -> bool
fn eq(&self, other: &TypedValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TypedValue) -> bool
fn ne(&self, other: &TypedValue) -> bool
This method tests for !=
.
sourceimpl Serialize for TypedValue
impl Serialize for TypedValue
impl StructuralPartialEq for TypedValue
Auto Trait Implementations
impl RefUnwindSafe for TypedValue
impl Send for TypedValue
impl Sync for TypedValue
impl Unpin for TypedValue
impl UnwindSafe for TypedValue
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