pub enum AddressType {
Legacy,
P2shSegwit,
Bech32,
}
Expand description
Used to represent an address type.
Variants
Legacy
P2shSegwit
Bech32
Trait Implementations
sourceimpl Serialize for AddressType
impl Serialize for AddressType
Auto Trait Implementations
impl RefUnwindSafe for AddressType
impl Send for AddressType
impl Sync for AddressType
impl Unpin for AddressType
impl UnwindSafe for AddressType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more