Enum ic_btc_interface::Network
source · pub enum Network {
Mainnet,
Testnet,
Regtest,
}
Variants§
Trait Implementations§
source§impl CandidType for Network
impl CandidType for Network
source§impl<'de> Deserialize<'de> for Network
impl<'de> Deserialize<'de> for Network
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Network> for NetworkInRequest
impl From<Network> for NetworkInRequest
source§impl From<NetworkInRequest> for Network
impl From<NetworkInRequest> for Network
source§fn from(network: NetworkInRequest) -> Self
fn from(network: NetworkInRequest) -> Self
Converts to this type from the input type.
source§impl PartialEq for Network
impl PartialEq for Network
impl Copy for Network
impl Eq for Network
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
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