pub struct Payment {
pub amount: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub finance_status: String,
pub id: Option<i64>,
pub job: JobSimpleCompleted,
pub payment_on: Option<NaiveDate>,
pub ref_id: String,
pub status: String,
pub type_: String,
pub updated_at: Option<DateTime<Utc>>,
}
Fields§
§amount: Option<String>
§created_at: Option<DateTime<Utc>>
§finance_status: String
§id: Option<i64>
§job: JobSimpleCompleted
§payment_on: Option<NaiveDate>
§ref_id: String
§status: String
§type_: String
§updated_at: Option<DateTime<Utc>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Payment
impl<'de> Deserialize<'de> for Payment
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 RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnwindSafe for Payment
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