pub enum Value {
Boolean(Box<Boolean>),
Integer32(Box<Integer32>),
Double(Box<Double>),
String(Box<String>),
Integer32Array(Box<Integer32Array>),
}
Expand description
The union Value
in the namespace FBS.RtpParameters
Generated from these locations:
- Union
Value
in the filefbs/rtpParameters.fbs:36
Variants§
Boolean(Box<Boolean>)
The variant of type Boolean
in the union Value
Integer32(Box<Integer32>)
The variant of type Integer32
in the union Value
Double(Box<Double>)
The variant of type Double
in the union Value
String(Box<String>)
The variant of type String
in the union Value
Integer32Array(Box<Integer32Array>)
The variant of type Integer32Array
in the union Value
Implementations§
Source§impl Value
impl Value
Sourcepub fn builder() -> ValueBuilder<Uninitialized>
pub fn builder() -> ValueBuilder<Uninitialized>
Creates a ValueBuilder for serializing an instance of this table.
pub fn create_boolean( builder: &mut Builder, value: impl WriteAsOffset<Boolean>, ) -> UnionOffset<Self>
pub fn create_integer32( builder: &mut Builder, value: impl WriteAsOffset<Integer32>, ) -> UnionOffset<Self>
pub fn create_double( builder: &mut Builder, value: impl WriteAsOffset<Double>, ) -> UnionOffset<Self>
pub fn create_string( builder: &mut Builder, value: impl WriteAsOffset<String>, ) -> UnionOffset<Self>
pub fn create_integer32_array( builder: &mut Builder, value: impl WriteAsOffset<Integer32Array>, ) -> UnionOffset<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Value
impl<'de> Deserialize<'de> for Value
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 PartialOrd for Value
impl PartialOrd for Value
impl StructuralPartialEq for Value
impl WriteAsOptionalUnion<Value> for Value
impl WriteAsUnion<Value> for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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