Enum bdk_chain::bitcoin::address::NetworkChecked
pub enum NetworkChecked {}
Expand description
Marker that address’s network has been successfully validated. See section Parsing addresses
on Address
for details.
Trait Implementations§
§impl Clone for NetworkChecked
impl Clone for NetworkChecked
§fn clone(&self) -> NetworkChecked
fn clone(&self) -> NetworkChecked
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 more§impl Debug for NetworkChecked
impl Debug for NetworkChecked
§impl Hash for NetworkChecked
impl Hash for NetworkChecked
§impl NetworkValidation for NetworkChecked
impl NetworkValidation for NetworkChecked
§const IS_CHECKED: bool = true
const IS_CHECKED: bool = true
Indicates whether this
NetworkValidation
is NetworkChecked
or not.§impl Ord for NetworkChecked
impl Ord for NetworkChecked
§impl PartialEq for NetworkChecked
impl PartialEq for NetworkChecked
§fn eq(&self, other: &NetworkChecked) -> bool
fn eq(&self, other: &NetworkChecked) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for NetworkChecked
impl PartialOrd for NetworkChecked
§fn partial_cmp(&self, other: &NetworkChecked) -> Option<Ordering>
fn partial_cmp(&self, other: &NetworkChecked) -> Option<Ordering>
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 Eq for NetworkChecked
impl StructuralPartialEq for NetworkChecked
Auto Trait Implementations§
impl Freeze for NetworkChecked
impl RefUnwindSafe for NetworkChecked
impl Send for NetworkChecked
impl Sync for NetworkChecked
impl Unpin for NetworkChecked
impl UnwindSafe for NetworkChecked
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