pub struct Keysend {
pub amount: String,
pub pubkey: String,
pub tlv_records: Vec<TlvRecord>,
pub metadata: String,
pub callback_url: String,
}
Expand description
Use this struct to create a well crafted json body for your keysend payments
Fields§
§amount: String
§pubkey: String
§tlv_records: Vec<TlvRecord>
§metadata: String
§callback_url: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Keysend
impl<'de> Deserialize<'de> for Keysend
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 Keysend
impl RefUnwindSafe for Keysend
impl Send for Keysend
impl Sync for Keysend
impl Unpin for Keysend
impl UnwindSafe for Keysend
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