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 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 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<ConstructionDeriveResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConstructionDeriveResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ConstructionDeriveResponse
impl Serialize for ConstructionDeriveResponse
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 ConstructionDeriveResponse
impl StructuralPartialEq for ConstructionDeriveResponse
Auto Trait Implementations§
impl Freeze for ConstructionDeriveResponse
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