pub struct SaveRequestBodyPositionTarget {
pub conid: Option<i32>,
pub target: Option<f64>,
}Fields§
§conid: Option<i32>Contract identifier, conid, to designate which security to hold.
- Example:
Some(265_598i32)
target: Option<f64>Percentage of model to distribute to the given currency.
- Example:
Some(0.0)
Trait Implementations§
Source§impl Clone for SaveRequestBodyPositionTarget
impl Clone for SaveRequestBodyPositionTarget
Source§fn clone(&self) -> SaveRequestBodyPositionTarget
fn clone(&self) -> SaveRequestBodyPositionTarget
Returns a duplicate 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 PartialEq for SaveRequestBodyPositionTarget
impl PartialEq for SaveRequestBodyPositionTarget
Source§fn eq(&self, other: &SaveRequestBodyPositionTarget) -> bool
fn eq(&self, other: &SaveRequestBodyPositionTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SaveRequestBodyPositionTarget
Auto Trait Implementations§
impl Freeze for SaveRequestBodyPositionTarget
impl RefUnwindSafe for SaveRequestBodyPositionTarget
impl Send for SaveRequestBodyPositionTarget
impl Sync for SaveRequestBodyPositionTarget
impl Unpin for SaveRequestBodyPositionTarget
impl UnsafeUnpin for SaveRequestBodyPositionTarget
impl UnwindSafe for SaveRequestBodyPositionTarget
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