pub struct ConstructionParseResponse {
pub operations: Vec<Operation>,
pub signers: Option<Vec<String>>,
pub account_identifier_signers: Option<Vec<AccountIdentifier>>,
pub metadata: Option<Value>,
}
Expand description
ConstructionParseResponse : ConstructionParseResponse contains an array of operations that occur in a transaction blob. This should match the array of operations provided to /construction/preprocess
and /construction/payloads
.
Fields§
§operations: Vec<Operation>
§signers: Option<Vec<String>>
[DEPRECATED by account_identifier_signers
in v1.4.4
] All signers (addresses) of a particular transaction. If the transaction is unsigned, it should be empty.
account_identifier_signers: Option<Vec<AccountIdentifier>>
§metadata: Option<Value>
Implementations§
source§impl ConstructionParseResponse
impl ConstructionParseResponse
sourcepub fn new(operations: Vec<Operation>) -> ConstructionParseResponse
pub fn new(operations: Vec<Operation>) -> ConstructionParseResponse
ConstructionParseResponse contains an array of operations that occur in a transaction blob. This should match the array of operations provided to /construction/preprocess
and /construction/payloads
.
Trait Implementations§
source§impl Clone for ConstructionParseResponse
impl Clone for ConstructionParseResponse
source§fn clone(&self) -> ConstructionParseResponse
fn clone(&self) -> ConstructionParseResponse
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 ConstructionParseResponse
impl Debug for ConstructionParseResponse
source§impl Default for ConstructionParseResponse
impl Default for ConstructionParseResponse
source§fn default() -> ConstructionParseResponse
fn default() -> ConstructionParseResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConstructionParseResponse
impl<'de> Deserialize<'de> for ConstructionParseResponse
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<ConstructionParseResponse> for ConstructionParseResponse
impl PartialEq<ConstructionParseResponse> for ConstructionParseResponse
source§fn eq(&self, other: &ConstructionParseResponse) -> bool
fn eq(&self, other: &ConstructionParseResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConstructionParseResponse
impl StructuralEq for ConstructionParseResponse
impl StructuralPartialEq for ConstructionParseResponse
Auto Trait Implementations§
impl RefUnwindSafe for ConstructionParseResponse
impl Send for ConstructionParseResponse
impl Sync for ConstructionParseResponse
impl Unpin for ConstructionParseResponse
impl UnwindSafe for ConstructionParseResponse
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