pub struct IssueParams {Show 14 fields
pub issuer_did: String,
pub subject_domains: Vec<String>,
pub domain_did: String,
pub delegation: Option<Delegation>,
pub licensee_did: String,
pub licensee_agent_type: String,
pub licensee_label: String,
pub licence_class: LicenceClass,
pub capability_scope: Vec<String>,
pub not_before_unix: u64,
pub expires_unix: u64,
pub payment_evidence: Option<PaymentEvidence>,
pub revocation_uri: String,
pub terms_uri: String,
}Expand description
Parameters for issue. chain_anchors and signature_hex are set by the
issuer; licence_id is derived from a provisional digest.
Fields§
§issuer_did: String§subject_domains: Vec<String>§domain_did: String§delegation: Option<Delegation>§licensee_did: String§licensee_agent_type: String§licensee_label: String§licence_class: LicenceClass§capability_scope: Vec<String>§not_before_unix: u64§expires_unix: u640 = no expiry.
payment_evidence: Option<PaymentEvidence>§revocation_uri: String§terms_uri: StringTrait Implementations§
Source§impl Clone for IssueParams
impl Clone for IssueParams
Source§impl Debug for IssueParams
impl Debug for IssueParams
Auto Trait Implementations§
impl Freeze for IssueParams
impl RefUnwindSafe for IssueParams
impl Send for IssueParams
impl Sync for IssueParams
impl Unpin for IssueParams
impl UnsafeUnpin for IssueParams
impl UnwindSafe for IssueParams
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.