pub struct SendTxInput {
pub options: Map<String, Value>,
pub signed_tx: String,
pub submit_type: Option<SendTxInputSubmitType>,
}Expand description
SendTxInput
JSON schema
{
"type": "object",
"required": [
"signedTx"
],
"properties": {
"options": {
"description": "DTO.TRANSACTION.SEND.OPTIONS",
"examples": [
{
"isAntiMev": true
}
],
"type": "object"
},
"signedTx": {
"description": "DTO.TRANSACTION.SEND.SIGNED_TX",
"examples": [
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
],
"type": "string"
},
"submitType": {
"description": "DTO.TRANSACTION.SEND.SUBMIT_TYPE",
"examples": [
"default"
],
"type": "string",
"enum": [
"default",
"priority"
]
}
}
}Fields§
§options: Map<String, Value>DTO.TRANSACTION.SEND.OPTIONS
signed_tx: StringDTO.TRANSACTION.SEND.SIGNED_TX
submit_type: Option<SendTxInputSubmitType>DTO.TRANSACTION.SEND.SUBMIT_TYPE
Implementations§
Source§impl SendTxInput
impl SendTxInput
pub fn builder() -> SendTxInput
Trait Implementations§
Source§impl Clone for SendTxInput
impl Clone for SendTxInput
Source§fn clone(&self) -> SendTxInput
fn clone(&self) -> SendTxInput
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 SendTxInput
impl Debug for SendTxInput
Source§impl<'de> Deserialize<'de> for SendTxInput
impl<'de> Deserialize<'de> for SendTxInput
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 From<&SendTxInput> for SendTxInput
impl From<&SendTxInput> for SendTxInput
Source§fn from(value: &SendTxInput) -> Self
fn from(value: &SendTxInput) -> Self
Converts to this type from the input type.
Source§impl From<SendTxInput> for SendTxInput
impl From<SendTxInput> for SendTxInput
Source§fn from(value: SendTxInput) -> Self
fn from(value: SendTxInput) -> Self
Converts to this type from the input type.
Source§impl Serialize for SendTxInput
impl Serialize for SendTxInput
Source§impl TryFrom<SendTxInput> for SendTxInput
impl TryFrom<SendTxInput> for SendTxInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SendTxInput) -> Result<Self, ConversionError>
fn try_from(value: SendTxInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SendTxInput
impl RefUnwindSafe for SendTxInput
impl Send for SendTxInput
impl Sync for SendTxInput
impl Unpin for SendTxInput
impl UnwindSafe for SendTxInput
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