pub struct MSat(pub u64);Expand description
Type-safe millisatoshi wrapper
Tuple Fields§
§0: u64Trait Implementations§
Source§impl<'d> Deserialize<'d> for MSat
impl<'d> Deserialize<'d> for MSat
Source§fn deserialize<D>(deserializer: D) -> Result<MSat, D::Error>where
D: Deserializer<'d>,
fn deserialize<D>(deserializer: D) -> Result<MSat, D::Error>where
D: Deserializer<'d>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for MSat
impl Ord for MSat
Source§impl PartialOrd for MSat
impl PartialOrd for MSat
impl Copy for MSat
impl Eq for MSat
impl StructuralPartialEq for MSat
Auto Trait Implementations§
impl Freeze for MSat
impl RefUnwindSafe for MSat
impl Send for MSat
impl Sync for MSat
impl Unpin for MSat
impl UnwindSafe for MSat
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