pub enum ExtensionObjectEncoding {
None,
ByteString(ByteString),
XmlElement(UAString),
}Expand description
Enumeration that holds the kinds of encoding that an ExtensionObject data may be encoded with.
Variants§
None
For an extension object with nothing encoded with it
ByteString(ByteString)
For an extension object with data encoded in a ByteString
XmlElement(UAString)
For an extension object with data encoded in an XML string
Trait Implementations§
Source§impl Clone for ExtensionObjectEncoding
impl Clone for ExtensionObjectEncoding
Source§fn clone(&self) -> ExtensionObjectEncoding
fn clone(&self) -> ExtensionObjectEncoding
Returns a duplicate 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 ExtensionObjectEncoding
impl Debug for ExtensionObjectEncoding
Source§impl<'de> Deserialize<'de> for ExtensionObjectEncoding
impl<'de> Deserialize<'de> for ExtensionObjectEncoding
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtensionObjectEncoding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtensionObjectEncoding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExtensionObjectEncoding
impl PartialEq for ExtensionObjectEncoding
Source§impl Serialize for ExtensionObjectEncoding
impl Serialize for ExtensionObjectEncoding
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExtensionObjectEncoding
Auto Trait Implementations§
impl Freeze for ExtensionObjectEncoding
impl RefUnwindSafe for ExtensionObjectEncoding
impl Send for ExtensionObjectEncoding
impl Sync for ExtensionObjectEncoding
impl Unpin for ExtensionObjectEncoding
impl UnwindSafe for ExtensionObjectEncoding
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