pub struct PwmRedeemParams {
pub plan_id: String,
pub category: String,
pub product_id: String,
pub shares: Option<String>,
pub amount: Option<String>,
pub order_link_id: String,
pub position_id: Option<i64>,
}Fields§
§plan_id: String§category: String§product_id: String§amount: Option<String>§order_link_id: String§position_id: Option<i64>Trait Implementations§
Source§impl Clone for PwmRedeemParams
impl Clone for PwmRedeemParams
Source§fn clone(&self) -> PwmRedeemParams
fn clone(&self) -> PwmRedeemParams
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 PwmRedeemParams
impl Debug for PwmRedeemParams
Source§impl<'de> Deserialize<'de> for PwmRedeemParams
impl<'de> Deserialize<'de> for PwmRedeemParams
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 PwmRedeemParams
impl RefUnwindSafe for PwmRedeemParams
impl Send for PwmRedeemParams
impl Sync for PwmRedeemParams
impl Unpin for PwmRedeemParams
impl UnsafeUnpin for PwmRedeemParams
impl UnwindSafe for PwmRedeemParams
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