Struct psbt::ModifiableFlags
source · pub struct ModifiableFlags {
pub inputs_modifiable: bool,
pub outputs_modifiable: bool,
pub sighash_single: bool,
pub unknown: u5,
}
Fields§
§inputs_modifiable: bool
§outputs_modifiable: bool
§sighash_single: bool
§unknown: u5
Implementations§
source§impl ModifiableFlags
impl ModifiableFlags
pub const fn unmodifiable() -> Self
pub const fn modifiable() -> Self
pub const fn modifiable_sighash_single() -> Self
pub fn from_standard_u8(val: u8) -> Self
pub const fn to_standard_u8(&self) -> u8
pub const fn is_modifiable(&self) -> bool
Trait Implementations§
source§impl Clone for ModifiableFlags
impl Clone for ModifiableFlags
source§fn clone(&self) -> ModifiableFlags
fn clone(&self) -> ModifiableFlags
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 ModifiableFlags
impl Debug for ModifiableFlags
source§impl Decode for ModifiableFlags
impl Decode for ModifiableFlags
source§impl Encode for ModifiableFlags
impl Encode for ModifiableFlags
source§impl Hash for ModifiableFlags
impl Hash for ModifiableFlags
source§impl PartialEq for ModifiableFlags
impl PartialEq for ModifiableFlags
source§fn eq(&self, other: &ModifiableFlags) -> bool
fn eq(&self, other: &ModifiableFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ModifiableFlags
impl StructuralEq for ModifiableFlags
impl StructuralPartialEq for ModifiableFlags
Auto Trait Implementations§
impl RefUnwindSafe for ModifiableFlags
impl Send for ModifiableFlags
impl Sync for ModifiableFlags
impl Unpin for ModifiableFlags
impl UnwindSafe for ModifiableFlags
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.