pub struct CreateTxEnvelope {
pub contract_id: String,
pub safety_errors: Option<Vec<SafetyError>>,
pub tx: Box<TextEnvelope>,
}Expand description
CreateTxEnvelope : The "type" property of "tx" must be "Tx BabbageEra" or "Tx ConwayEra"
Fields§
§contract_id: StringA reference to a transaction output with a transaction ID and index.
safety_errors: Option<Vec<SafetyError>>§tx: Box<TextEnvelope>Implementations§
Source§impl CreateTxEnvelope
impl CreateTxEnvelope
Sourcepub fn new(contract_id: String, tx: TextEnvelope) -> CreateTxEnvelope
pub fn new(contract_id: String, tx: TextEnvelope) -> CreateTxEnvelope
The "type" property of "tx" must be "Tx BabbageEra" or "Tx ConwayEra"
Trait Implementations§
Source§impl Clone for CreateTxEnvelope
impl Clone for CreateTxEnvelope
Source§fn clone(&self) -> CreateTxEnvelope
fn clone(&self) -> CreateTxEnvelope
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 CreateTxEnvelope
impl Debug for CreateTxEnvelope
Source§impl<'de> Deserialize<'de> for CreateTxEnvelope
impl<'de> Deserialize<'de> for CreateTxEnvelope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateTxEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateTxEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateTxEnvelope
impl PartialEq for CreateTxEnvelope
Source§impl Serialize for CreateTxEnvelope
impl Serialize for CreateTxEnvelope
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 StructuralPartialEq for CreateTxEnvelope
Auto Trait Implementations§
impl Freeze for CreateTxEnvelope
impl RefUnwindSafe for CreateTxEnvelope
impl Send for CreateTxEnvelope
impl Sync for CreateTxEnvelope
impl Unpin for CreateTxEnvelope
impl UnwindSafe for CreateTxEnvelope
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