Enum cln_rpc::model::responses::ConnectDirection
source · pub enum ConnectDirection {
IN = 0,
OUT = 1,
}
Expand description
[‘Whether they initiated connection or we did.’]
Variants§
Trait Implementations§
source§impl Clone for ConnectDirection
impl Clone for ConnectDirection
source§fn clone(&self) -> ConnectDirection
fn clone(&self) -> ConnectDirection
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 ConnectDirection
impl Debug for ConnectDirection
source§impl<'de> Deserialize<'de> for ConnectDirection
impl<'de> Deserialize<'de> for ConnectDirection
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 PartialEq for ConnectDirection
impl PartialEq for ConnectDirection
source§fn eq(&self, other: &ConnectDirection) -> bool
fn eq(&self, other: &ConnectDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConnectDirection
impl Serialize for ConnectDirection
source§impl ToString for ConnectDirection
impl ToString for ConnectDirection
source§impl TryFrom<i32> for ConnectDirection
impl TryFrom<i32> for ConnectDirection
impl Copy for ConnectDirection
impl Eq for ConnectDirection
impl StructuralPartialEq for ConnectDirection
Auto Trait Implementations§
impl Freeze for ConnectDirection
impl RefUnwindSafe for ConnectDirection
impl Send for ConnectDirection
impl Sync for ConnectDirection
impl Unpin for ConnectDirection
impl UnwindSafe for ConnectDirection
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