pub struct PaymentRecord {
pub id: String,
pub amount: f64,
pub method: String,
pub status: String,
pub created_at: String,
pub transaction_id: Option<String>,
}Fields§
§id: String§amount: f64§method: String§status: String§created_at: String§transaction_id: Option<String>Trait Implementations§
Source§impl Debug for PaymentRecord
impl Debug for PaymentRecord
Source§impl<'de> Deserialize<'de> for PaymentRecord
impl<'de> Deserialize<'de> for PaymentRecord
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 PaymentRecord
impl RefUnwindSafe for PaymentRecord
impl Send for PaymentRecord
impl Sync for PaymentRecord
impl Unpin for PaymentRecord
impl UnwindSafe for PaymentRecord
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