Struct sn_data_types::SignedCreditShare[][src]

pub struct SignedCreditShare {
    pub credit: Credit,
    pub actor_signature: SignatureShare,
}

An Actor cmd.

Fields

credit: Credit

The credit.

actor_signature: SignatureShare

Actor signature over the transfer.

Implementations

impl SignedCreditShare[src]

pub fn id(&self) -> &CreditId[src]

Get the credit id

pub fn amount(&self) -> Token[src]

Get the amount of this transfer

pub fn recipient(&self) -> PublicKey[src]

Get the sender of this transfer

pub fn share_index(&self) -> usize[src]

Trait Implementations

impl Clone for SignedCreditShare[src]

impl Debug for SignedCreditShare[src]

impl<'de> Deserialize<'de> for SignedCreditShare[src]

impl Eq for SignedCreditShare[src]

impl Hash for SignedCreditShare[src]

impl PartialEq<SignedCreditShare> for SignedCreditShare[src]

impl Serialize for SignedCreditShare[src]

impl StructuralEq for SignedCreditShare[src]

impl StructuralPartialEq for SignedCreditShare[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Member for T where
    T: Clone + Eq + Hash
[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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,