pub struct Lightning {
pub created_at: Option<u64>,
pub settled_at: Option<u64>,
pub payreq: String,
}
Fields§
§created_at: Option<u64>
Payment Request creation timestamp
settled_at: Option<u64>
Charge settlement timestamp
payreq: String
Payment Request hash
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lightning
impl<'de> Deserialize<'de> for Lightning
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
Auto Trait Implementations§
impl Freeze for Lightning
impl RefUnwindSafe for Lightning
impl Send for Lightning
impl Sync for Lightning
impl Unpin for Lightning
impl UnwindSafe for Lightning
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