pub struct SendTxResponse {
pub elapsed_time: i64,
pub job_id: String,
pub signature: String,
}Expand description
SendTxResponse
JSON schema
{
"type": "object",
"required": [
"elapsedTime",
"jobId",
"signature"
],
"properties": {
"elapsedTime": {
"description": "Transaction processing time in milliseconds",
"examples": [
1500
],
"type": "integer",
"format": "int64"
},
"jobId": {
"description": "job id",
"examples": [
"1234567890"
],
"type": "string"
},
"signature": {
"description": "Transaction signature/hash",
"examples": [
"37XpPt9Ak6JiE1V3sftJDtdUsvR9FVFRqkZmoT3dp4BTD9pgyTWn1XgHH6R7NjuJ4pBMAgj8JvZtxQrf4s6NTC5F"
],
"type": "string"
}
}
}Fields§
§elapsed_time: i64Transaction processing time in milliseconds
job_id: Stringjob id
signature: StringTransaction signature/hash
Implementations§
Source§impl SendTxResponse
impl SendTxResponse
pub fn builder() -> SendTxResponse
Trait Implementations§
Source§impl Clone for SendTxResponse
impl Clone for SendTxResponse
Source§fn clone(&self) -> SendTxResponse
fn clone(&self) -> SendTxResponse
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 SendTxResponse
impl Debug for SendTxResponse
Source§impl<'de> Deserialize<'de> for SendTxResponse
impl<'de> Deserialize<'de> for SendTxResponse
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<&SendTxResponse> for SendTxResponse
impl From<&SendTxResponse> for SendTxResponse
Source§fn from(value: &SendTxResponse) -> Self
fn from(value: &SendTxResponse) -> Self
Converts to this type from the input type.
Source§impl From<SendTxResponse> for SendTxResponse
impl From<SendTxResponse> for SendTxResponse
Source§fn from(value: SendTxResponse) -> Self
fn from(value: SendTxResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for SendTxResponse
impl Serialize for SendTxResponse
Source§impl TryFrom<SendTxResponse> for SendTxResponse
impl TryFrom<SendTxResponse> for SendTxResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SendTxResponse) -> Result<Self, ConversionError>
fn try_from(value: SendTxResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SendTxResponse
impl RefUnwindSafe for SendTxResponse
impl Send for SendTxResponse
impl Sync for SendTxResponse
impl Unpin for SendTxResponse
impl UnsafeUnpin for SendTxResponse
impl UnwindSafe for SendTxResponse
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