pub struct PostTriggerV2DepositCraftResponse {
pub amount: String,
pub input_token_account: Option<String>,
pub jl_token_account: Option<String>,
pub mint: String,
pub output_token_account: Option<String>,
pub receiver_address: String,
pub request_id: String,
pub token_decimals: f64,
pub transaction: String,
}Fields§
§amount: StringDeposit amount in smallest unit
input_token_account: Option<String>Deterministic per-order input token account. Returned for deposits crafted with an orderSubType.
jl_token_account: Option<String>Jupiter Lend position account. Returned instead of inputTokenAccount when the deposit is crafted with jlMint (Earn While You Wait).
mint: StringToken mint being deposited
output_token_account: Option<String>Deterministic per-order output token account. Returned only when orderSubType is otoco.
receiver_address: StringVault public key receiving the deposit
request_id: StringDeposit request ID (used when creating the order)
token_decimals: f64Token decimals
transaction: StringBase64-encoded unsigned transaction
Trait Implementations§
Source§impl Clone for PostTriggerV2DepositCraftResponse
impl Clone for PostTriggerV2DepositCraftResponse
Source§fn clone(&self) -> PostTriggerV2DepositCraftResponse
fn clone(&self) -> PostTriggerV2DepositCraftResponse
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<'de> Deserialize<'de> for PostTriggerV2DepositCraftResponse
impl<'de> Deserialize<'de> for PostTriggerV2DepositCraftResponse
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 PostTriggerV2DepositCraftResponse
impl RefUnwindSafe for PostTriggerV2DepositCraftResponse
impl Send for PostTriggerV2DepositCraftResponse
impl Sync for PostTriggerV2DepositCraftResponse
impl Unpin for PostTriggerV2DepositCraftResponse
impl UnsafeUnpin for PostTriggerV2DepositCraftResponse
impl UnwindSafe for PostTriggerV2DepositCraftResponse
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