pub struct ConstructionPayloadsResponse {
pub unsigned_transaction: String,
pub payloads: Vec<SigningPayload>,
}Expand description
ConstructionPayloadsResponse : ConstructionTransactionResponse is returned by /construction/payloads. It contains an unsigned transaction blob (that is usually needed to construct the a network transaction from a collection of signatures) and an array of payloads that must be signed by the caller.
Fields§
§unsigned_transaction: String§payloads: Vec<SigningPayload>Implementations§
Source§impl ConstructionPayloadsResponse
impl ConstructionPayloadsResponse
Sourcepub fn new(
unsigned_transaction: String,
payloads: Vec<SigningPayload>,
) -> ConstructionPayloadsResponse
pub fn new( unsigned_transaction: String, payloads: Vec<SigningPayload>, ) -> ConstructionPayloadsResponse
ConstructionTransactionResponse is returned by /construction/payloads. It contains an unsigned transaction blob (that is usually needed to construct the a network transaction from a collection of signatures) and an array of payloads that must be signed by the caller.
Trait Implementations§
Source§impl Clone for ConstructionPayloadsResponse
impl Clone for ConstructionPayloadsResponse
Source§fn clone(&self) -> ConstructionPayloadsResponse
fn clone(&self) -> ConstructionPayloadsResponse
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 ConstructionPayloadsResponse
impl Debug for ConstructionPayloadsResponse
Source§impl Default for ConstructionPayloadsResponse
impl Default for ConstructionPayloadsResponse
Source§fn default() -> ConstructionPayloadsResponse
fn default() -> ConstructionPayloadsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConstructionPayloadsResponse
impl<'de> Deserialize<'de> for ConstructionPayloadsResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConstructionPayloadsResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConstructionPayloadsResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConstructionPayloadsResponse
impl PartialEq for ConstructionPayloadsResponse
Source§fn eq(&self, other: &ConstructionPayloadsResponse) -> bool
fn eq(&self, other: &ConstructionPayloadsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConstructionPayloadsResponse
impl Serialize for ConstructionPayloadsResponse
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 ConstructionPayloadsResponse
impl StructuralPartialEq for ConstructionPayloadsResponse
Auto Trait Implementations§
impl Freeze for ConstructionPayloadsResponse
impl RefUnwindSafe for ConstructionPayloadsResponse
impl Send for ConstructionPayloadsResponse
impl Sync for ConstructionPayloadsResponse
impl Unpin for ConstructionPayloadsResponse
impl UnwindSafe for ConstructionPayloadsResponse
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