pub struct ProofConfigurationRefWithoutOptions<'a, S>where
S: CryptographicSuite,{
pub context: Option<&'a Context>,
pub type_: &'a S,
pub created: Option<&'a Lexical<DateTimeStamp>>,
pub verification_method: ReferenceOrOwnedRef<'a, <S as CryptographicSuite>::VerificationMethod>,
pub proof_purpose: ProofPurpose,
pub expires: Option<&'a Lexical<DateTimeStamp>>,
pub domains: &'a [String],
pub challenge: Option<&'a str>,
pub nonce: Option<&'a str>,
pub extra_properties: &'a BTreeMap<String, Value>,
}Expand description
Proof configuration without the suite specific options.
Fields§
§context: Option<&'a Context>Proof context.
type_: &'a SProof type.
created: Option<&'a Lexical<DateTimeStamp>>§verification_method: ReferenceOrOwnedRef<'a, <S as CryptographicSuite>::VerificationMethod>§proof_purpose: ProofPurpose§expires: Option<&'a Lexical<DateTimeStamp>>§domains: &'a [String]§challenge: Option<&'a str>§nonce: Option<&'a str>§extra_properties: &'a BTreeMap<String, Value>Extra properties.
Trait Implementations§
Source§impl<'a, S> Clone for ProofConfigurationRefWithoutOptions<'a, S>where
S: CryptographicSuite,
impl<'a, S> Clone for ProofConfigurationRefWithoutOptions<'a, S>where
S: CryptographicSuite,
Source§fn clone(&self) -> ProofConfigurationRefWithoutOptions<'a, S>
fn clone(&self) -> ProofConfigurationRefWithoutOptions<'a, S>
Returns a duplicate of the value. Read more
Source§fn clone_from(&mut self, _source: &ProofConfigurationRefWithoutOptions<'a, S>)
fn clone_from(&mut self, _source: &ProofConfigurationRefWithoutOptions<'a, S>)
Performs copy-assignment from
source. Read moreSource§impl<'a, S> Serialize for ProofConfigurationRefWithoutOptions<'a, S>where
S: CryptographicSuite + SerializeCryptographicSuite,
impl<'a, S> Serialize for ProofConfigurationRefWithoutOptions<'a, S>where
S: CryptographicSuite + SerializeCryptographicSuite,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'a, S> Copy for ProofConfigurationRefWithoutOptions<'a, S>where
S: CryptographicSuite,
Auto Trait Implementations§
impl<'a, S> Freeze for ProofConfigurationRefWithoutOptions<'a, S>
impl<'a, S> RefUnwindSafe for ProofConfigurationRefWithoutOptions<'a, S>
impl<'a, S> Send for ProofConfigurationRefWithoutOptions<'a, S>
impl<'a, S> Sync for ProofConfigurationRefWithoutOptions<'a, S>
impl<'a, S> Unpin for ProofConfigurationRefWithoutOptions<'a, S>
impl<'a, S> UnwindSafe for ProofConfigurationRefWithoutOptions<'a, S>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.