pub struct Scid(pub u64);Expand description
A newtype for the short_channel_id (scid) used throughout LDK.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scid
impl<'de> Deserialize<'de> for Scid
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 Scid
impl Ord for Scid
Source§impl PartialOrd for Scid
impl PartialOrd for Scid
impl Copy for Scid
impl Eq for Scid
impl StructuralPartialEq for Scid
Auto Trait Implementations§
impl Freeze for Scid
impl RefUnwindSafe for Scid
impl Send for Scid
impl Sync for Scid
impl Unpin for Scid
impl UnsafeUnpin for Scid
impl UnwindSafe for Scid
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