pub enum SecureRequiredType {
SecureRequiredType(SecureRequiredType),
OneOf(SecureRequiredTypeOneOf),
}Expand description
Variants§
SecureRequiredType(SecureRequiredType)
OneOf(SecureRequiredTypeOneOf)
Trait Implementations§
Source§impl Clone for SecureRequiredType
impl Clone for SecureRequiredType
Source§fn clone(&self) -> SecureRequiredType
fn clone(&self) -> SecureRequiredType
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 SecureRequiredType
impl Debug for SecureRequiredType
Source§impl Deserializable for SecureRequiredType
impl Deserializable for SecureRequiredType
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<SecureRequiredType> for SecureRequiredType
impl From<SecureRequiredType> for SecureRequiredType
Source§fn from(x: SecureRequiredType) -> Self
fn from(x: SecureRequiredType) -> Self
Converts to this type from the input type.
Source§impl From<SecureRequiredTypeOneOf> for SecureRequiredType
impl From<SecureRequiredTypeOneOf> for SecureRequiredType
Source§fn from(x: SecureRequiredTypeOneOf) -> Self
fn from(x: SecureRequiredTypeOneOf) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SecureRequiredType
impl PartialEq for SecureRequiredType
Source§impl Serializable for SecureRequiredType
impl Serializable for SecureRequiredType
Source§impl TryFrom<SecureRequiredType> for SecureRequiredType
impl TryFrom<SecureRequiredType> for SecureRequiredType
Source§type Error = SecureRequiredType
type Error = SecureRequiredType
The type returned in the event of a conversion error.
Source§impl TryFrom<SecureRequiredType> for SecureRequiredTypeOneOf
impl TryFrom<SecureRequiredType> for SecureRequiredTypeOneOf
Source§type Error = SecureRequiredType
type Error = SecureRequiredType
The type returned in the event of a conversion error.
impl StructuralPartialEq for SecureRequiredType
Auto Trait Implementations§
impl Freeze for SecureRequiredType
impl RefUnwindSafe for SecureRequiredType
impl Send for SecureRequiredType
impl Sync for SecureRequiredType
impl Unpin for SecureRequiredType
impl UnsafeUnpin for SecureRequiredType
impl UnwindSafe for SecureRequiredType
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