pub enum TLCId {
Offered(u64),
Received(u64),
}Expand description
The id of a tlc, it can be either offered or received.
Variants§
Implementations§
Trait Implementations§
impl Copy for TLCId
Source§impl<'de> Deserialize<'de> for TLCId
impl<'de> Deserialize<'de> for TLCId
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
impl Eq for TLCId
Source§impl Ord for TLCId
impl Ord for TLCId
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 PartialOrd for TLCId
impl PartialOrd for TLCId
impl StructuralPartialEq for TLCId
Auto Trait Implementations§
impl Freeze for TLCId
impl RefUnwindSafe for TLCId
impl Send for TLCId
impl Sync for TLCId
impl Unpin for TLCId
impl UnsafeUnpin for TLCId
impl UnwindSafe for TLCId
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