pub struct WalletInfo {
pub sol: Option<f64>,
pub sol_percentage: Option<f64>,
pub token_percentage: Option<f64>,
pub tokens: Option<i64>,
}Expand description
Information about a specific wallet’s interaction with a bundle
Fields§
§sol: Option<f64>SOL balance of the wallet associated with this bundle
sol_percentage: Option<f64>Percentage of total SOL in the bundle represented by this wallet
token_percentage: Option<f64>Percentage of total tokens in the bundle held by this wallet
tokens: Option<i64>Number of tokens held by this wallet within the bundle
Trait Implementations§
Source§impl Clone for WalletInfo
impl Clone for WalletInfo
Source§fn clone(&self) -> WalletInfo
fn clone(&self) -> WalletInfo
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 WalletInfo
impl Debug for WalletInfo
Source§impl<'de> Deserialize<'de> for WalletInfo
impl<'de> Deserialize<'de> for WalletInfo
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
Source§impl JsonSchema for WalletInfo
impl JsonSchema for WalletInfo
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for WalletInfo
impl RefUnwindSafe for WalletInfo
impl Send for WalletInfo
impl Sync for WalletInfo
impl Unpin for WalletInfo
impl UnwindSafe for WalletInfo
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