pub struct AgreementPayParams {
pub agreement_no: Option<String>,
pub out_trade_no: String,
pub scene_code: String,
pub amount: AgreementMonetaryAmount,
pub order_info: AgreementOrderInfo,
pub scene_info: Option<AgreementSceneInfo>,
pub pay_notify_url: String,
pub risk_info: Option<AgreementRiskInfo>,
}Fields§
§agreement_no: Option<String>§out_trade_no: String§scene_code: String§amount: AgreementMonetaryAmount§order_info: AgreementOrderInfo§scene_info: Option<AgreementSceneInfo>§pay_notify_url: String§risk_info: Option<AgreementRiskInfo>Trait Implementations§
Source§impl Clone for AgreementPayParams
impl Clone for AgreementPayParams
Source§fn clone(&self) -> AgreementPayParams
fn clone(&self) -> AgreementPayParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgreementPayParams
impl Debug for AgreementPayParams
Source§impl<'de> Deserialize<'de> for AgreementPayParams
impl<'de> Deserialize<'de> for AgreementPayParams
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 AgreementPayParams
impl RefUnwindSafe for AgreementPayParams
impl Send for AgreementPayParams
impl Sync for AgreementPayParams
impl Unpin for AgreementPayParams
impl UnsafeUnpin for AgreementPayParams
impl UnwindSafe for AgreementPayParams
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