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