Struct mutiny_core::nodemanager::MutinyChannel
source · pub struct MutinyChannel {
pub user_chan_id: String,
pub balance: u64,
pub size: u64,
pub reserve: u64,
pub inbound: u64,
pub outpoint: Option<OutPoint>,
pub peer: PublicKey,
pub confirmations_required: Option<u32>,
pub confirmations: u32,
pub is_outbound: bool,
pub is_usable: bool,
}Fields§
§user_chan_id: String§balance: u64§size: u64§reserve: u64§inbound: u64§outpoint: Option<OutPoint>§peer: PublicKey§confirmations_required: Option<u32>§confirmations: u32§is_outbound: bool§is_usable: boolTrait Implementations§
source§impl Clone for MutinyChannel
impl Clone for MutinyChannel
source§fn clone(&self) -> MutinyChannel
fn clone(&self) -> MutinyChannel
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<'de> Deserialize<'de> for MutinyChannel
impl<'de> Deserialize<'de> for MutinyChannel
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<&ChannelDetails> for MutinyChannel
impl From<&ChannelDetails> for MutinyChannel
source§fn from(c: &ChannelDetails) -> Self
fn from(c: &ChannelDetails) -> Self
Converts to this type from the input type.
source§impl PartialEq for MutinyChannel
impl PartialEq for MutinyChannel
source§fn eq(&self, other: &MutinyChannel) -> bool
fn eq(&self, other: &MutinyChannel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MutinyChannel
impl Serialize for MutinyChannel
impl Eq for MutinyChannel
impl StructuralEq for MutinyChannel
impl StructuralPartialEq for MutinyChannel
Auto Trait Implementations§
impl RefUnwindSafe for MutinyChannel
impl Send for MutinyChannel
impl Sync for MutinyChannel
impl Unpin for MutinyChannel
impl UnwindSafe for MutinyChannel
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.