pub struct TransactionWitness(Witness);
Expand description
a transaction witness
Tuple Fields§
§0: Witness
Implementations§
source§impl TransactionWitness
impl TransactionWitness
pub fn to_bech32_str(&self) -> String
pub fn from_bech32_str(s: &str) -> Result<Self, TransactionWitnessFromStrError>
Trait Implementations§
source§impl AsRef<Witness> for TransactionWitness
impl AsRef<Witness> for TransactionWitness
source§impl Clone for TransactionWitness
impl Clone for TransactionWitness
source§fn clone(&self) -> TransactionWitness
fn clone(&self) -> TransactionWitness
Returns a copy of the value. Read more
1.0.0 · 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 TransactionWitness
impl Debug for TransactionWitness
source§impl<'de> Deserialize<'de> for TransactionWitness
impl<'de> Deserialize<'de> for TransactionWitness
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
source§impl Display for TransactionWitness
impl Display for TransactionWitness
source§impl From<TransactionWitness> for Witness
impl From<TransactionWitness> for Witness
source§fn from(v: TransactionWitness) -> Self
fn from(v: TransactionWitness) -> Self
Converts to this type from the input type.
source§impl From<Witness> for TransactionWitness
impl From<Witness> for TransactionWitness
source§impl FromStr for TransactionWitness
impl FromStr for TransactionWitness
source§impl PartialEq<TransactionWitness> for TransactionWitness
impl PartialEq<TransactionWitness> for TransactionWitness
source§fn eq(&self, other: &TransactionWitness) -> bool
fn eq(&self, other: &TransactionWitness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransactionWitness
impl Serialize for TransactionWitness
impl Eq for TransactionWitness
impl StructuralEq for TransactionWitness
impl StructuralPartialEq for TransactionWitness
Auto Trait Implementations§
impl RefUnwindSafe for TransactionWitness
impl Send for TransactionWitness
impl Sync for TransactionWitness
impl Unpin for TransactionWitness
impl UnwindSafe for TransactionWitness
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