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