pub enum Serialized {
Constructor(SerializedConstructorData),
Secret(SerializedSecretData),
NotImplemented(SerializedNotImplementedData),
}Expand description
Union type for all serialized representations.
Variants§
Constructor(SerializedConstructorData)
A serialized constructor.
Secret(SerializedSecretData)
A serialized secret.
NotImplemented(SerializedNotImplementedData)
A serialized not implemented.
Trait Implementations§
Source§impl Clone for Serialized
impl Clone for Serialized
Source§fn clone(&self) -> Serialized
fn clone(&self) -> Serialized
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 Serialized
impl Debug for Serialized
Source§impl<'de> Deserialize<'de> for Serialized
impl<'de> Deserialize<'de> for Serialized
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 From<SerializedConstructor> for Serialized
impl From<SerializedConstructor> for Serialized
Source§fn from(s: SerializedConstructor) -> Self
fn from(s: SerializedConstructor) -> Self
Converts to this type from the input type.
Source§impl From<SerializedNotImplemented> for Serialized
impl From<SerializedNotImplemented> for Serialized
Source§fn from(s: SerializedNotImplemented) -> Self
fn from(s: SerializedNotImplemented) -> Self
Converts to this type from the input type.
Source§impl From<SerializedSecret> for Serialized
impl From<SerializedSecret> for Serialized
Source§fn from(s: SerializedSecret) -> Self
fn from(s: SerializedSecret) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Serialized
impl PartialEq for Serialized
Source§impl Serialize for Serialized
impl Serialize for Serialized
impl StructuralPartialEq for Serialized
Auto Trait Implementations§
impl Freeze for Serialized
impl RefUnwindSafe for Serialized
impl Send for Serialized
impl Sync for Serialized
impl Unpin for Serialized
impl UnwindSafe for Serialized
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