pub struct Holder {
pub proxy_wallet: String,
pub bio: Option<String>,
pub asset: Option<String>,
pub pseudonym: Option<String>,
pub amount: f64,
pub display_username_public: Option<bool>,
pub outcome_index: u32,
pub name: Option<String>,
pub profile_image: Option<String>,
pub profile_image_optimized: Option<String>,
}Expand description
Individual holder of a market token
Fields§
§proxy_wallet: StringProxy wallet address
bio: Option<String>User bio
asset: Option<String>Asset identifier (token ID)
pseudonym: Option<String>User pseudonym
amount: f64Amount held
display_username_public: Option<bool>Whether username is displayed publicly
outcome_index: u32Outcome index (0 or 1 for binary markets)
name: Option<String>User display name
profile_image: Option<String>User profile image URL
profile_image_optimized: Option<String>Optimized profile image URL
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Holder
impl<'de> Deserialize<'de> for Holder
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 Holder
impl RefUnwindSafe for Holder
impl Send for Holder
impl Sync for Holder
impl Unpin for Holder
impl UnwindSafe for Holder
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