Struct dubp_wallet::prelude::SourceV10 [−][src]
pub struct SourceV10 { pub id: SourceIdV10, pub amount: SourceAmount, }
Fields
id: SourceIdV10
amount: SourceAmount
Implementations
impl SourceV10
[src]
impl SourceV10
[src]pub fn unlockable_on(
tx_signers: &[PublicKey],
proofs: &[WalletUnlockProofV10],
source_written_on: u64,
utxo_script: &WalletScriptV10
) -> Result<u64, SourceV10NotUnlockableError>
[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<'de> Deserialize<'de> for SourceV10
[src]
impl<'de> Deserialize<'de> for SourceV10
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Copy for SourceV10
[src]
impl Eq for SourceV10
[src]
impl StructuralEq for SourceV10
[src]
impl StructuralPartialEq for SourceV10
[src]
Auto Trait Implementations
impl RefUnwindSafe for SourceV10
impl Send for SourceV10
impl Sync for SourceV10
impl Unpin for SourceV10
impl UnwindSafe for SourceV10
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,