pub struct LendTokenInfo {Show 16 fields
pub address: String,
pub asset: LendAssetInfo,
pub asset_address: String,
pub convert_to_assets: String,
pub convert_to_shares: String,
pub decimals: i64,
pub id: i64,
pub liquidity_supply_data: LendLiquiditySupplyData,
pub name: String,
pub rebalance_difference: String,
pub rewards_rate: String,
pub supply_rate: String,
pub symbol: String,
pub total_assets: String,
pub total_rate: String,
pub total_supply: String,
}Fields§
§address: String- Lending token address like
9BEcn9aPEmhSPbPQeFGjidRiEKki46fVQDyPpSQXPA2D
asset: LendAssetInfo§asset_address: String- Lending token underlying asset address like
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
convert_to_assets: String- Value of one 1 jlToken token to underlying mint, like 1 jlUSDC = X USDC
- Used for conversion
- Value of one 1 underlying token to jlToken, like 1 USDC = X jlUSDC
- Used for conversion
decimals: i64§id: i64- Lending ID, starts from
1
liquidity_supply_data: LendLiquiditySupplyData§name: String- Lending token name like Jupiter Lend USDC
rebalance_difference: String§rewards_rate: String- Rewards rate , in 1e4 decimals
supply_rate: String- Supply rate, in 1e4 decimals
symbol: String- Lending token symbol like jlUSDC
total_assets: String- Total available underlying mint from jlTokens (with accured interest)
total_rate: String- Total sum of rewards + supply rate
total_supply: String- Total supply of jlTokens for this mint
Trait Implementations§
Source§impl Clone for LendTokenInfo
impl Clone for LendTokenInfo
Source§fn clone(&self) -> LendTokenInfo
fn clone(&self) -> LendTokenInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LendTokenInfo
impl Debug for LendTokenInfo
Source§impl<'de> Deserialize<'de> for LendTokenInfo
impl<'de> Deserialize<'de> for LendTokenInfo
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 LendTokenInfo
impl RefUnwindSafe for LendTokenInfo
impl Send for LendTokenInfo
impl Sync for LendTokenInfo
impl Unpin for LendTokenInfo
impl UnsafeUnpin for LendTokenInfo
impl UnwindSafe for LendTokenInfo
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