pub enum PsbtVer {
V0 = 0,
V2 = 2,
}Variants§
Implementations§
source§impl PsbtVer
impl PsbtVer
pub const fn try_from_standard_u32( v: u32, ) -> Result<PsbtVer, PsbtUnsupportedVer>
pub const fn to_standard_u32(&self) -> u32
pub const fn max() -> PsbtVer
Trait Implementations§
source§impl Ord for PsbtVer
impl Ord for PsbtVer
source§impl PartialEq for PsbtVer
impl PartialEq for PsbtVer
source§impl PartialOrd for PsbtVer
impl PartialOrd for PsbtVer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for PsbtVer
impl Eq for PsbtVer
impl StructuralPartialEq for PsbtVer
Auto Trait Implementations§
impl Freeze for PsbtVer
impl RefUnwindSafe for PsbtVer
impl Send for PsbtVer
impl Sync for PsbtVer
impl Unpin for PsbtVer
impl UnwindSafe for PsbtVer
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.