Enum breez_sdk_liquid::model::LiquidNetwork
source · pub enum LiquidNetwork {
Mainnet,
Testnet,
}
Expand description
Network chosen for this Liquid SDK instance. Note that it represents both the Liquid and the Bitcoin network used.
Variants§
Implementations§
source§impl LiquidNetwork
impl LiquidNetwork
pub fn as_bitcoin_chain(&self) -> Chain
Trait Implementations§
source§impl Clone for LiquidNetwork
impl Clone for LiquidNetwork
source§fn clone(&self) -> LiquidNetwork
fn clone(&self) -> LiquidNetwork
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 moresource§impl Debug for LiquidNetwork
impl Debug for LiquidNetwork
source§impl From<LiquidNetwork> for Chain
impl From<LiquidNetwork> for Chain
source§fn from(value: LiquidNetwork) -> Self
fn from(value: LiquidNetwork) -> Self
Converts to this type from the input type.
source§impl From<LiquidNetwork> for ElementsNetwork
impl From<LiquidNetwork> for ElementsNetwork
source§fn from(value: LiquidNetwork) -> Self
fn from(value: LiquidNetwork) -> Self
Converts to this type from the input type.
source§impl From<LiquidNetwork> for Network
impl From<LiquidNetwork> for Network
source§fn from(value: LiquidNetwork) -> Self
fn from(value: LiquidNetwork) -> Self
Converts to this type from the input type.
source§impl From<LiquidNetwork> for Network
impl From<LiquidNetwork> for Network
source§fn from(value: LiquidNetwork) -> Self
fn from(value: LiquidNetwork) -> Self
Converts to this type from the input type.
source§impl From<LiquidNetwork> for Network
impl From<LiquidNetwork> for Network
source§fn from(value: LiquidNetwork) -> Self
fn from(value: LiquidNetwork) -> Self
Converts to this type from the input type.
source§impl IntoDart for LiquidNetwork
impl IntoDart for LiquidNetwork
source§impl IntoIntoDart<LiquidNetwork> for LiquidNetwork
impl IntoIntoDart<LiquidNetwork> for LiquidNetwork
fn into_into_dart(self) -> LiquidNetwork
source§impl PartialEq for LiquidNetwork
impl PartialEq for LiquidNetwork
source§impl Serialize for LiquidNetwork
impl Serialize for LiquidNetwork
source§impl TryFrom<&str> for LiquidNetwork
impl TryFrom<&str> for LiquidNetwork
impl Copy for LiquidNetwork
impl IntoDartExceptPrimitive for LiquidNetwork
impl StructuralPartialEq for LiquidNetwork
Auto Trait Implementations§
impl Freeze for LiquidNetwork
impl RefUnwindSafe for LiquidNetwork
impl Send for LiquidNetwork
impl Sync for LiquidNetwork
impl Unpin for LiquidNetwork
impl UnwindSafe for LiquidNetwork
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request