pub struct IGift {
pub id: String,
pub node_id: String,
pub order_id: Option<String>,
pub order: Option<IBtOrder>,
pub bolt11_payment_id: Option<String>,
pub bolt11_payment: Option<IBtPayment>,
pub applied_gift_code_id: String,
pub applied_gift_code: Option<IGiftCode>,
}
Fields§
§id: String
§node_id: String
§order_id: Option<String>
§order: Option<IBtOrder>
§bolt11_payment_id: Option<String>
§bolt11_payment: Option<IBtPayment>
§applied_gift_code_id: String
§applied_gift_code: Option<IGiftCode>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IGift
impl<'de> Deserialize<'de> for IGift
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 IGift
impl RefUnwindSafe for IGift
impl Send for IGift
impl Sync for IGift
impl Unpin for IGift
impl UnwindSafe for IGift
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