pub struct BundleResponse {Show 13 fields
pub bonded: Option<bool>,
pub bundles: Option<HashMap<String, BundleDetails>>,
pub creator_analysis: Option<CreatorAnalysis>,
pub distributed_amount: Option<i64>,
pub distributed_percentage: Option<f64>,
pub distributed_wallets: Option<i32>,
pub ticker: Option<String>,
pub total_bundles: Option<i32>,
pub total_holding_amount: Option<i64>,
pub total_holding_percentage: Option<f64>,
pub total_percentage_bundled: Option<f64>,
pub total_sol_spent: Option<f64>,
pub total_tokens_bundled: Option<i64>,
}Expand description
Main bundle response from TrenchBot
Fields§
§bonded: Option<bool>Indicates if the bundle is bonded
bundles: Option<HashMap<String, BundleDetails>>Collection of bundles, keyed by bundle ID
creator_analysis: Option<CreatorAnalysis>Analysis of the bundle creator
distributed_amount: Option<i64>Total amount of tokens distributed
distributed_percentage: Option<f64>Percentage of total tokens distributed
distributed_wallets: Option<i32>Number of wallets the token has been distributed to
ticker: Option<String>Ticker symbol of the token
total_bundles: Option<i32>Total number of bundles created for this token
total_holding_amount: Option<i64>Total amount of tokens held in bundles
total_holding_percentage: Option<f64>Percentage of the total token supply held in bundles
total_percentage_bundled: Option<f64>Total percentage of tokens that are bundled
total_sol_spent: Option<f64>Total SOL spent on creating the bundles
total_tokens_bundled: Option<i64>Total number of tokens included in bundles
Trait Implementations§
Source§impl Clone for BundleResponse
impl Clone for BundleResponse
Source§fn clone(&self) -> BundleResponse
fn clone(&self) -> BundleResponse
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 BundleResponse
impl Debug for BundleResponse
Source§impl<'de> Deserialize<'de> for BundleResponse
impl<'de> Deserialize<'de> for BundleResponse
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 BundleResponse
impl JsonSchema for BundleResponse
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 BundleResponse
impl RefUnwindSafe for BundleResponse
impl Send for BundleResponse
impl Sync for BundleResponse
impl Unpin for BundleResponse
impl UnwindSafe for BundleResponse
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