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§
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
Source§impl Ord for TLCId
impl Ord for TLCId
Source§impl PartialOrd for TLCId
impl PartialOrd for TLCId
impl Copy for TLCId
impl Eq 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