pub struct PlatformTwapPrepareResponse {
pub schema_version: u16,
pub contract_version: String,
pub twap_control_id: String,
pub market_id: String,
pub action: PlatformTwapControlAction,
pub twap_id: String,
pub transaction_base64: String,
pub recent_blockhash: String,
pub last_valid_block_height: u64,
pub expires_at_ms: u64,
}Fields§
§schema_version: u16§contract_version: String§twap_control_id: String§market_id: String§action: PlatformTwapControlAction§twap_id: String§transaction_base64: StringBackend-partially-signed transaction. The external session signer verifies and fills only its signature slot.
recent_blockhash: String§last_valid_block_height: u64§expires_at_ms: u64Trait Implementations§
Source§impl Clone for PlatformTwapPrepareResponse
impl Clone for PlatformTwapPrepareResponse
Source§fn clone(&self) -> PlatformTwapPrepareResponse
fn clone(&self) -> PlatformTwapPrepareResponse
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 PlatformTwapPrepareResponse
impl Debug for PlatformTwapPrepareResponse
Source§impl<'de> Deserialize<'de> for PlatformTwapPrepareResponse
impl<'de> Deserialize<'de> for PlatformTwapPrepareResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformTwapPrepareResponse
Source§impl Serialize for PlatformTwapPrepareResponse
impl Serialize for PlatformTwapPrepareResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformTwapPrepareResponse
Auto Trait Implementations§
impl Freeze for PlatformTwapPrepareResponse
impl RefUnwindSafe for PlatformTwapPrepareResponse
impl Send for PlatformTwapPrepareResponse
impl Sync for PlatformTwapPrepareResponse
impl Unpin for PlatformTwapPrepareResponse
impl UnsafeUnpin for PlatformTwapPrepareResponse
impl UnwindSafe for PlatformTwapPrepareResponse
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