pub struct ProofConfigurationRefWithoutOptions<'a, S: CryptographicSuite> {
pub context: Option<&'a Context>,
pub type_: &'a S,
pub created: Option<&'a Lexical<DateTimeStamp>>,
pub verification_method: ReferenceOrOwnedRef<'a, S::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::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: CryptographicSuite> Clone for ProofConfigurationRefWithoutOptions<'a, S>
impl<'a, S: CryptographicSuite> Clone for ProofConfigurationRefWithoutOptions<'a, S>
Source§impl<'a, S> Serialize for ProofConfigurationRefWithoutOptions<'a, S>where
S: SerializeCryptographicSuite + CryptographicSuite,
impl<'a, S> Serialize for ProofConfigurationRefWithoutOptions<'a, S>where
S: SerializeCryptographicSuite + CryptographicSuite,
impl<'a, S: CryptographicSuite> Copy for ProofConfigurationRefWithoutOptions<'a, S>
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.