pub struct GamertagPayment {
pub gamertag: String,
pub amount: String,
pub description: String,
}
Expand description
Use this struct to create a well crafted json body for your gamertag payments
Fields§
§gamertag: String
§amount: String
§description: String
Trait Implementations§
Source§impl Debug for GamertagPayment
impl Debug for GamertagPayment
Source§impl Default for GamertagPayment
impl Default for GamertagPayment
Source§impl<'de> Deserialize<'de> for GamertagPayment
impl<'de> Deserialize<'de> for GamertagPayment
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
Source§impl Serialize for GamertagPayment
impl Serialize for GamertagPayment
Source§impl Validate for GamertagPayment
impl Validate for GamertagPayment
Source§impl<'v_a> ValidateArgs<'v_a> for GamertagPayment
impl<'v_a> ValidateArgs<'v_a> for GamertagPayment
Auto Trait Implementations§
impl Freeze for GamertagPayment
impl RefUnwindSafe for GamertagPayment
impl Send for GamertagPayment
impl Sync for GamertagPayment
impl Unpin for GamertagPayment
impl UnwindSafe for GamertagPayment
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