pub struct TransactionIdentifierResponse {
pub transaction_identifier: TransactionIdentifier,
pub metadata: Option<Value>,
}Expand description
TransactionIdentifierResponse : TransactionIdentifierResponse contains the transaction_identifier of a transaction that was submitted to either /construction/hash or /construction/submit.
Fields§
§transaction_identifier: TransactionIdentifier§metadata: Option<Value>Implementations§
Source§impl TransactionIdentifierResponse
impl TransactionIdentifierResponse
Sourcepub fn new(
transaction_identifier: TransactionIdentifier,
) -> TransactionIdentifierResponse
pub fn new( transaction_identifier: TransactionIdentifier, ) -> TransactionIdentifierResponse
TransactionIdentifierResponse contains the transaction_identifier of a transaction that was submitted to either /construction/hash or /construction/submit.
Trait Implementations§
Source§impl Clone for TransactionIdentifierResponse
impl Clone for TransactionIdentifierResponse
Source§fn clone(&self) -> TransactionIdentifierResponse
fn clone(&self) -> TransactionIdentifierResponse
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 Default for TransactionIdentifierResponse
impl Default for TransactionIdentifierResponse
Source§fn default() -> TransactionIdentifierResponse
fn default() -> TransactionIdentifierResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionIdentifierResponse
impl<'de> Deserialize<'de> for TransactionIdentifierResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionIdentifierResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionIdentifierResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransactionIdentifierResponse
impl PartialEq for TransactionIdentifierResponse
Source§fn eq(&self, other: &TransactionIdentifierResponse) -> bool
fn eq(&self, other: &TransactionIdentifierResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransactionIdentifierResponse
impl Serialize for TransactionIdentifierResponse
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 Eq for TransactionIdentifierResponse
impl StructuralPartialEq for TransactionIdentifierResponse
Auto Trait Implementations§
impl Freeze for TransactionIdentifierResponse
impl RefUnwindSafe for TransactionIdentifierResponse
impl Send for TransactionIdentifierResponse
impl Sync for TransactionIdentifierResponse
impl Unpin for TransactionIdentifierResponse
impl UnwindSafe for TransactionIdentifierResponse
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