#[non_exhaustive]pub enum SigningValue {
Boolean(bool),
Integer(i64),
String(String),
Data(Vec<u8>),
Array(Vec<Self>),
Dictionary(BTreeMap<String, Self>),
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Boolean(bool)
Integer(i64)
String(String)
Data(Vec<u8>)
Array(Vec<Self>)
Dictionary(BTreeMap<String, Self>)
Unknown(String)
Trait Implementations§
Source§impl Clone for SigningValue
impl Clone for SigningValue
Source§fn clone(&self) -> SigningValue
fn clone(&self) -> SigningValue
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 SigningValue
impl Debug for SigningValue
Source§impl PartialEq for SigningValue
impl PartialEq for SigningValue
Source§fn eq(&self, other: &SigningValue) -> bool
fn eq(&self, other: &SigningValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SigningValue
impl StructuralPartialEq for SigningValue
Auto Trait Implementations§
impl Freeze for SigningValue
impl RefUnwindSafe for SigningValue
impl Send for SigningValue
impl Sync for SigningValue
impl Unpin for SigningValue
impl UnsafeUnpin for SigningValue
impl UnwindSafe for SigningValue
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