pub struct TargetPosition {
pub symbol: String,
pub weight: f64,
}Fields§
§symbol: String§weight: f64Trait Implementations§
Source§impl Clone for TargetPosition
impl Clone for TargetPosition
Source§fn clone(&self) -> TargetPosition
fn clone(&self) -> TargetPosition
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 Debug for TargetPosition
impl Debug for TargetPosition
Source§impl<'de> Deserialize<'de> for TargetPosition
impl<'de> Deserialize<'de> for TargetPosition
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 TargetPosition
impl RefUnwindSafe for TargetPosition
impl Send for TargetPosition
impl Sync for TargetPosition
impl Unpin for TargetPosition
impl UnsafeUnpin for TargetPosition
impl UnwindSafe for TargetPosition
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