pub enum ExtensionObjectEncoding {
None,
ByteString(ByteString),
XmlElement(XmlElement),
}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(XmlElement)
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 (const: unstable) · 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<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 PartialEq for ExtensionObjectEncoding
impl PartialEq for ExtensionObjectEncoding
Source§fn eq(&self, other: &ExtensionObjectEncoding) -> bool
fn eq(&self, other: &ExtensionObjectEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtensionObjectEncoding
impl Serialize for ExtensionObjectEncoding
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 UnsafeUnpin 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