Struct wedpr_s_verifiable_confidential_ledger::vcl::ConfidentialCredit[][src]

pub struct ConfidentialCredit { /* fields omitted */ }

Confidential credit record stored in VCL.

Implementations

impl ConfidentialCredit[src]

pub fn get_point(&self) -> RistrettoPoint[src]

Gets the point representing the credit.

pub fn encode(&self) -> EncodedConfidentialCredit[src]

Encodes the struct to its protobuf form.

pub fn decode(
    encoded_confidential_credit: &EncodedConfidentialCredit
) -> Result<ConfidentialCredit, WedprError>
[src]

Trait Implementations

impl Clone for ConfidentialCredit[src]

impl Debug for ConfidentialCredit[src]

impl Default for ConfidentialCredit[src]

impl Display for ConfidentialCredit[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> From<T> for T[src]

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.