pub struct AllocateEarnFundsRequest {
pub amount: Decimal,
pub strategy_id: String,
}
Expand description
A request to allocate funds to a particular Earn strategy.
Fields§
§amount: Decimal
§strategy_id: String
Implementations§
Source§impl AllocateEarnFundsRequest
impl AllocateEarnFundsRequest
pub fn builder( amount: Decimal, strategy_id: String, ) -> AllocateEarnFundsRequestBuilder
Trait Implementations§
Source§impl Clone for AllocateEarnFundsRequest
impl Clone for AllocateEarnFundsRequest
Source§fn clone(&self) -> AllocateEarnFundsRequest
fn clone(&self) -> AllocateEarnFundsRequest
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 AllocateEarnFundsRequest
impl Debug for AllocateEarnFundsRequest
Auto Trait Implementations§
impl Freeze for AllocateEarnFundsRequest
impl RefUnwindSafe for AllocateEarnFundsRequest
impl Send for AllocateEarnFundsRequest
impl Sync for AllocateEarnFundsRequest
impl Unpin for AllocateEarnFundsRequest
impl UnwindSafe for AllocateEarnFundsRequest
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