#[non_exhaustive]pub struct AnySignatureOptions {
pub mandatory_pointers: Vec<JsonPointerBuf>,
pub hmac_key: Option<HmacShaAnyKey>,
pub key_pair: Option<MultikeyPair>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mandatory_pointers: Vec<JsonPointerBuf>§hmac_key: Option<HmacShaAnyKey>§key_pair: Option<MultikeyPair>Trait Implementations§
Source§impl Debug for AnySignatureOptions
impl Debug for AnySignatureOptions
Source§impl Default for AnySignatureOptions
impl Default for AnySignatureOptions
Source§fn default() -> AnySignatureOptions
fn default() -> AnySignatureOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnySignatureOptions
impl<'de> Deserialize<'de> for AnySignatureOptions
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<()> for AnySignatureOptions
impl From<()> for AnySignatureOptions
Source§impl From<AnySignatureOptions> for ()
impl From<AnySignatureOptions> for ()
Source§fn from(_value: AnySignatureOptions) -> Self
fn from(_value: AnySignatureOptions) -> Self
Converts to this type from the input type.
Source§impl From<AnySignatureOptions> for SignatureOptions
Available on crate features w3c and secp256r1 only.
impl From<AnySignatureOptions> for SignatureOptions
Available on crate features
w3c and secp256r1 only.Source§fn from(o: AnySignatureOptions) -> Self
fn from(o: AnySignatureOptions) -> Self
Converts to this type from the input type.
Source§impl From<SignatureOptions> for AnySignatureOptions
Available on crate features w3c and secp256r1 only.
impl From<SignatureOptions> for AnySignatureOptions
Available on crate features
w3c and secp256r1 only.Source§fn from(value: SignatureOptions) -> Self
fn from(value: SignatureOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnySignatureOptions
impl RefUnwindSafe for AnySignatureOptions
impl Send for AnySignatureOptions
impl Sync for AnySignatureOptions
impl Unpin for AnySignatureOptions
impl UnwindSafe for AnySignatureOptions
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
Source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
Source§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
Source§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.