pub struct AddCollateralRequestBody {
pub transaction_request: Option<TransactionRequest>,
pub is_src_collateral: Option<bool>,
}
Fields§
§transaction_request: Option<TransactionRequest>
§is_src_collateral: Option<bool>
optional
Implementations§
Source§impl AddCollateralRequestBody
impl AddCollateralRequestBody
pub fn new() -> AddCollateralRequestBody
Trait Implementations§
Source§impl Clone for AddCollateralRequestBody
impl Clone for AddCollateralRequestBody
Source§fn clone(&self) -> AddCollateralRequestBody
fn clone(&self) -> AddCollateralRequestBody
Returns a copy of the value. Read more
1.0.0 · 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 AddCollateralRequestBody
impl Debug for AddCollateralRequestBody
Source§impl Default for AddCollateralRequestBody
impl Default for AddCollateralRequestBody
Source§fn default() -> AddCollateralRequestBody
fn default() -> AddCollateralRequestBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddCollateralRequestBody
impl<'de> Deserialize<'de> for AddCollateralRequestBody
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 PartialEq for AddCollateralRequestBody
impl PartialEq for AddCollateralRequestBody
Source§impl Serialize for AddCollateralRequestBody
impl Serialize for AddCollateralRequestBody
impl StructuralPartialEq for AddCollateralRequestBody
Auto Trait Implementations§
impl Freeze for AddCollateralRequestBody
impl RefUnwindSafe for AddCollateralRequestBody
impl Send for AddCollateralRequestBody
impl Sync for AddCollateralRequestBody
impl Unpin for AddCollateralRequestBody
impl UnwindSafe for AddCollateralRequestBody
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