pub struct PrevWitness {
pub prev_id: Option<PrevId>,
pub tx_witness: Witness,
pub split_commitment: Option<SplitCommitment>,
}Expand description
Represents a previous witness.
Fields§
§prev_id: Option<PrevId>Previous input asset ID.
tx_witness: WitnessTransaction witness.
split_commitment: Option<SplitCommitment>Split commitment.
Trait Implementations§
Source§impl Clone for PrevWitness
impl Clone for PrevWitness
Source§fn clone(&self) -> PrevWitness
fn clone(&self) -> PrevWitness
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrevWitness
impl Debug for PrevWitness
Source§impl<'de> Deserialize<'de> for PrevWitness
impl<'de> Deserialize<'de> for PrevWitness
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrevWitness
Source§impl Hash for PrevWitness
impl Hash for PrevWitness
Source§impl PartialEq for PrevWitness
impl PartialEq for PrevWitness
Source§fn eq(&self, other: &PrevWitness) -> bool
fn eq(&self, other: &PrevWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrevWitness
impl Serialize for PrevWitness
impl StructuralPartialEq for PrevWitness
Auto Trait Implementations§
impl Freeze for PrevWitness
impl RefUnwindSafe for PrevWitness
impl Send for PrevWitness
impl Sync for PrevWitness
impl Unpin for PrevWitness
impl UnsafeUnpin for PrevWitness
impl UnwindSafe for PrevWitness
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more