Struct indy_crypto::cl::Witness [−][src]
pub struct Witness { /* fields omitted */ }
Methods
impl Witness
[src]
impl Witness
pub fn new<RTA>(
rev_idx: u32,
max_cred_num: u32,
issuance_by_default: bool,
rev_reg_delta: &RevocationRegistryDelta,
rev_tails_accessor: &RTA
) -> Result<Witness, IndyCryptoError> where
RTA: RevocationTailsAccessor,
[src]
pub fn new<RTA>(
rev_idx: u32,
max_cred_num: u32,
issuance_by_default: bool,
rev_reg_delta: &RevocationRegistryDelta,
rev_tails_accessor: &RTA
) -> Result<Witness, IndyCryptoError> where
RTA: RevocationTailsAccessor,
pub fn update<RTA>(
&mut self,
rev_idx: u32,
max_cred_num: u32,
rev_reg_delta: &RevocationRegistryDelta,
rev_tails_accessor: &RTA
) -> Result<(), IndyCryptoError> where
RTA: RevocationTailsAccessor,
[src]
pub fn update<RTA>(
&mut self,
rev_idx: u32,
max_cred_num: u32,
rev_reg_delta: &RevocationRegistryDelta,
rev_tails_accessor: &RTA
) -> Result<(), IndyCryptoError> where
RTA: RevocationTailsAccessor,
Trait Implementations
impl Debug for Witness
[src]
impl Debug for Witness
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Witness
[src]
impl Clone for Witness
fn clone(&self) -> Witness
[src]
fn clone(&self) -> Witness
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl JsonEncodable for Witness
[src]
impl JsonEncodable for Witness
fn to_json(&self) -> Result<String, IndyCryptoError>
[src]
fn to_json(&self) -> Result<String, IndyCryptoError>
impl<'a> JsonDecodable<'a> for Witness
[src]
impl<'a> JsonDecodable<'a> for Witness
fn from_json(to_string: &'a str) -> Result<Self, IndyCryptoError>
[src]
fn from_json(to_string: &'a str) -> Result<Self, IndyCryptoError>