pub struct SwapReply {
pub elapsed_time: i64,
pub serialized_tx: String,
}Expand description
SwapReply
JSON schema
{
"type": "object",
"required": [
"elapsedTime",
"serializedTx"
],
"properties": {
"elapsedTime": {
"description": "DTO.DEX.SWAP.ELAPSED_TIME",
"examples": [
245
],
"type": "integer",
"format": "int64"
},
"serializedTx": {
"description": "DTO.DEX.SWAP.SERIALIZED_TX",
"examples": [
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
],
"type": "string"
}
}
}Fields§
§elapsed_time: i64DTO.DEX.SWAP.ELAPSED_TIME
serialized_tx: StringDTO.DEX.SWAP.SERIALIZED_TX
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SwapReply
impl<'de> Deserialize<'de> for SwapReply
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 SwapReply
impl RefUnwindSafe for SwapReply
impl Send for SwapReply
impl Sync for SwapReply
impl Unpin for SwapReply
impl UnwindSafe for SwapReply
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