[][src]Struct dubp_wallet::prelude::SourceV10

pub struct SourceV10 {
    pub id: SourceIdV10,
    pub amount: SourceAmount,
}

Fields

id: SourceIdV10amount: SourceAmount

Implementations

impl SourceV10[src]

pub fn unlockable_on(
    tx_signers: &[PublicKey],
    proofs: &[WalletUnlockProofV10],
    source_written_on: u64,
    utxo_script: &WalletScriptV10
) -> Result<u64, SourceV10NotUnlockableError>
[src]

Indicates from which blockchain timestamp the currency source can be unlocked.

Trait Implementations

impl Clone for SourceV10[src]

impl Copy for SourceV10[src]

impl Debug for SourceV10[src]

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

impl Eq for SourceV10[src]

impl PartialEq<SourceV10> for SourceV10[src]

impl Serialize for SourceV10[src]

impl StructuralEq for SourceV10[src]

impl StructuralPartialEq for SourceV10[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> 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.