pub struct ModifiableFlags(/* private fields */);Expand description
Flags indicating which parts of the PSBT can be modified.
Implementations§
Source§impl ModifiableFlags
impl ModifiableFlags
Sourcepub const INPUTS_MODIFIABLE: Self
pub const INPUTS_MODIFIABLE: Self
Inputs can be added/removed.
Sourcepub const OUTPUTS_MODIFIABLE: Self
pub const OUTPUTS_MODIFIABLE: Self
Outputs can be added/removed.
Sourcepub const HAS_SIGHASH_SINGLE: Self
pub const HAS_SIGHASH_SINGLE: Self
Sighash type can include ANYONECANPAY.
Sourcepub const fn inputs_modifiable(self) -> bool
pub const fn inputs_modifiable(self) -> bool
Check if inputs are modifiable.
Sourcepub const fn outputs_modifiable(self) -> bool
pub const fn outputs_modifiable(self) -> bool
Check if outputs are modifiable.
Trait Implementations§
Source§impl Clone for ModifiableFlags
impl Clone for ModifiableFlags
Source§fn clone(&self) -> ModifiableFlags
fn clone(&self) -> ModifiableFlags
Returns a duplicate 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 PartialEq for ModifiableFlags
impl PartialEq for ModifiableFlags
impl Copy for ModifiableFlags
impl Eq for ModifiableFlags
impl StructuralPartialEq for ModifiableFlags
Auto Trait Implementations§
impl Freeze for ModifiableFlags
impl RefUnwindSafe for ModifiableFlags
impl Send for ModifiableFlags
impl Sync for ModifiableFlags
impl Unpin for ModifiableFlags
impl UnsafeUnpin 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