pub struct ConstructionParseRequest {
pub network_identifier: NetworkIdentifier,
pub signed: bool,
pub transaction: String,
}Expand description
ConstructionParseRequest : ConstructionParseRequest is the input to the /construction/parse endpoint. It allows the caller to parse either an unsigned or signed transaction.
Fields§
§network_identifier: NetworkIdentifier§signed: boolSigned is a boolean indicating whether the transaction is signed.
transaction: StringThis must be either the unsigned transaction blob returned by /construction/payloads or the signed transaction blob returned by /construction/combine.
Implementations§
Source§impl ConstructionParseRequest
impl ConstructionParseRequest
Sourcepub fn new(
network_identifier: NetworkIdentifier,
signed: bool,
transaction: String,
) -> ConstructionParseRequest
pub fn new( network_identifier: NetworkIdentifier, signed: bool, transaction: String, ) -> ConstructionParseRequest
ConstructionParseRequest is the input to the /construction/parse endpoint. It allows the caller to parse either an unsigned or signed transaction.
Trait Implementations§
Source§impl Clone for ConstructionParseRequest
impl Clone for ConstructionParseRequest
Source§fn clone(&self) -> ConstructionParseRequest
fn clone(&self) -> ConstructionParseRequest
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 ConstructionParseRequest
impl Debug for ConstructionParseRequest
Source§impl Default for ConstructionParseRequest
impl Default for ConstructionParseRequest
Source§fn default() -> ConstructionParseRequest
fn default() -> ConstructionParseRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConstructionParseRequest
impl<'de> Deserialize<'de> for ConstructionParseRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConstructionParseRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConstructionParseRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConstructionParseRequest
impl PartialEq for ConstructionParseRequest
Source§impl Serialize for ConstructionParseRequest
impl Serialize for ConstructionParseRequest
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 ConstructionParseRequest
impl StructuralPartialEq for ConstructionParseRequest
Auto Trait Implementations§
impl Freeze for ConstructionParseRequest
impl RefUnwindSafe for ConstructionParseRequest
impl Send for ConstructionParseRequest
impl Sync for ConstructionParseRequest
impl Unpin for ConstructionParseRequest
impl UnwindSafe for ConstructionParseRequest
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