pub enum PaymentDirection {
Inbound,
Outbound,
}Expand description
Payment direction.
Variants§
Trait Implementations§
Source§impl Clone for PaymentDirection
impl Clone for PaymentDirection
Source§fn clone(&self) -> PaymentDirection
fn clone(&self) -> PaymentDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PaymentDirection
Source§impl Debug for PaymentDirection
impl Debug for PaymentDirection
impl Eq for PaymentDirection
Source§impl Hash for PaymentDirection
impl Hash for PaymentDirection
Source§impl Ord for PaymentDirection
impl Ord for PaymentDirection
Source§fn cmp(&self, other: &PaymentDirection) -> Ordering
fn cmp(&self, other: &PaymentDirection) -> Ordering
1.21.0 (const: unstable) · 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 PaymentDirection
impl PartialEq for PaymentDirection
Source§fn eq(&self, other: &PaymentDirection) -> bool
fn eq(&self, other: &PaymentDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PaymentDirection
impl PartialOrd for PaymentDirection
impl StructuralPartialEq for PaymentDirection
Auto Trait Implementations§
impl Freeze for PaymentDirection
impl RefUnwindSafe for PaymentDirection
impl Send for PaymentDirection
impl Sync for PaymentDirection
impl Unpin for PaymentDirection
impl UnsafeUnpin for PaymentDirection
impl UnwindSafe for PaymentDirection
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