pub struct Pair {
pub key: Key,
pub value: Vec<u8>,
}
Expand description
A PSBT key-value pair in its raw byte form.
Fields§
§key: Key
The key of this key-value pair.
value: Vec<u8>
The value of this key-value pair in raw byte form.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Pair
impl<'de> Deserialize<'de> for Pair
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 PartialEq<Pair> for Pair
impl PartialEq<Pair> for Pair
impl Eq for Pair
impl StructuralEq for Pair
impl StructuralPartialEq for Pair
Auto Trait Implementations§
impl RefUnwindSafe for Pair
impl Send for Pair
impl Sync for Pair
impl Unpin for Pair
impl UnwindSafe for Pair
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