pub struct Payment {Show 13 fields
pub id: String,
pub trade_no: String,
pub name: String,
pub status: Option<PaymentStatus>,
pub qyt: i32,
pub price_unit: Option<i64>,
pub price_id: Option<String>,
pub price_one_unit: Option<i64>,
pub created_at: String,
pub updated_at: String,
pub product_type: i32,
pub ticket: Option<String>,
pub price_mark: Option<String>,
}Expand description
Payment information
Fields§
§id: String§trade_no: String§name: String§status: Option<PaymentStatus>§qyt: i32§price_unit: Option<i64>§price_id: Option<String>§price_one_unit: Option<i64>§created_at: String§updated_at: String§product_type: i32§ticket: Option<String>§price_mark: Option<String>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 Freeze for Payment
impl RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnsafeUnpin 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