pub struct OtherSize {
pub id: Option<i64>,
pub user: Option<String>,
pub size: Option<f64>,
}Expand description
“Other” outcome size held by a user in an augmented neg-risk event.
Fields§
§id: Option<i64>Gamma event ID of the augmented neg-risk event.
user: Option<String>User wallet address.
size: Option<f64>Size of the “Other” position.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OtherSize
impl<'de> Deserialize<'de> for OtherSize
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 OtherSize
impl RefUnwindSafe for OtherSize
impl Send for OtherSize
impl Sync for OtherSize
impl Unpin for OtherSize
impl UnsafeUnpin for OtherSize
impl UnwindSafe for OtherSize
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