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 copy 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<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 PartialEq<TransactionIdentifierResponse> for TransactionIdentifierResponse
impl PartialEq<TransactionIdentifierResponse> for TransactionIdentifierResponse
source§fn eq(&self, other: &TransactionIdentifierResponse) -> bool
fn eq(&self, other: &TransactionIdentifierResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransactionIdentifierResponse
impl StructuralEq for TransactionIdentifierResponse
impl StructuralPartialEq for TransactionIdentifierResponse
Auto Trait Implementations§
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