pub struct WithdrawalReqest {
pub expires_in: u32,
pub amount: String,
pub description: String,
pub internal_id: String,
pub callback_url: String,
}
Expand description
Use this struct to create a well crafted json body for withdrawal requests
Fields§
§expires_in: u32
§amount: String
§description: String
§internal_id: String
§callback_url: String
Trait Implementations§
Source§impl Debug for WithdrawalReqest
impl Debug for WithdrawalReqest
Source§impl Default for WithdrawalReqest
impl Default for WithdrawalReqest
Source§fn default() -> WithdrawalReqest
fn default() -> WithdrawalReqest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WithdrawalReqest
impl<'de> Deserialize<'de> for WithdrawalReqest
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 WithdrawalReqest
impl RefUnwindSafe for WithdrawalReqest
impl Send for WithdrawalReqest
impl Sync for WithdrawalReqest
impl Unpin for WithdrawalReqest
impl UnwindSafe for WithdrawalReqest
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