pub struct ChannelParties(/* private fields */);Expand description
An immutable pair of addresses representing parties of a channel.
Implementations§
Trait Implementations§
Source§impl Clone for ChannelParties
impl Clone for ChannelParties
Source§fn clone(&self) -> ChannelParties
fn clone(&self) -> ChannelParties
Returns a duplicate 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 ChannelParties
impl Debug for ChannelParties
Source§impl<'de> Deserialize<'de> for ChannelParties
impl<'de> Deserialize<'de> for ChannelParties
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 Display for ChannelParties
impl Display for ChannelParties
Source§impl<'a> From<&'a ChannelEntry> for ChannelParties
impl<'a> From<&'a ChannelEntry> for ChannelParties
Source§fn from(value: &'a ChannelEntry) -> Self
fn from(value: &'a ChannelEntry) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a ChannelParties> for ChannelId
impl<'a> From<&'a ChannelParties> for ChannelId
Source§fn from(value: &'a ChannelParties) -> Self
fn from(value: &'a ChannelParties) -> Self
Converts to this type from the input type.
Source§impl Hash for ChannelParties
impl Hash for ChannelParties
Source§impl Ord for ChannelParties
impl Ord for ChannelParties
Source§fn cmp(&self, other: &ChannelParties) -> Ordering
fn cmp(&self, other: &ChannelParties) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChannelParties
impl PartialEq for ChannelParties
Source§impl PartialOrd for ChannelParties
impl PartialOrd for ChannelParties
Source§impl Serialize for ChannelParties
impl Serialize for ChannelParties
impl Copy for ChannelParties
impl Eq for ChannelParties
impl StructuralPartialEq for ChannelParties
Auto Trait Implementations§
impl Freeze for ChannelParties
impl RefUnwindSafe for ChannelParties
impl Send for ChannelParties
impl Sync for ChannelParties
impl Unpin for ChannelParties
impl UnwindSafe for ChannelParties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more