pub struct ConstructionDeriveResponse {
pub address: Option<String>,
pub account_identifier: Option<AccountIdentifier>,
pub metadata: Option<Value>,
}
Expand description
ConstructionDeriveResponse : ConstructionDeriveResponse is returned by the /construction/derive
endpoint.
Fields§
§address: Option<String>
[DEPRECATED by account_identifier
in v1.4.4
] Address in network-specific format.
account_identifier: Option<AccountIdentifier>
§metadata: Option<Value>
Implementations§
source§impl ConstructionDeriveResponse
impl ConstructionDeriveResponse
sourcepub fn new() -> ConstructionDeriveResponse
pub fn new() -> ConstructionDeriveResponse
ConstructionDeriveResponse is returned by the /construction/derive
endpoint.
Trait Implementations§
source§impl Clone for ConstructionDeriveResponse
impl Clone for ConstructionDeriveResponse
source§fn clone(&self) -> ConstructionDeriveResponse
fn clone(&self) -> ConstructionDeriveResponse
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 Debug for ConstructionDeriveResponse
impl Debug for ConstructionDeriveResponse
source§impl Default for ConstructionDeriveResponse
impl Default for ConstructionDeriveResponse
source§fn default() -> ConstructionDeriveResponse
fn default() -> ConstructionDeriveResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConstructionDeriveResponse
impl<'de> Deserialize<'de> for ConstructionDeriveResponse
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<ConstructionDeriveResponse> for ConstructionDeriveResponse
impl PartialEq<ConstructionDeriveResponse> for ConstructionDeriveResponse
source§fn eq(&self, other: &ConstructionDeriveResponse) -> bool
fn eq(&self, other: &ConstructionDeriveResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConstructionDeriveResponse
impl StructuralEq for ConstructionDeriveResponse
impl StructuralPartialEq for ConstructionDeriveResponse
Auto Trait Implementations§
impl RefUnwindSafe for ConstructionDeriveResponse
impl Send for ConstructionDeriveResponse
impl Sync for ConstructionDeriveResponse
impl Unpin for ConstructionDeriveResponse
impl UnwindSafe for ConstructionDeriveResponse
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