pub struct ContractState {Show 15 fields
pub assets: Box<Assets>,
pub block: Option<Box<BlockHeader>>,
pub continuations: Option<String>,
pub contract_id: String,
pub current_contract: Option<Box<Contract>>,
pub initial_contract: Box<Contract>,
pub metadata: HashMap<String, Metadata>,
pub role_token_minting_policy_id: String,
pub state: Option<Box<MarloweState>>,
pub status: TxStatus,
pub tags: HashMap<String, Metadata>,
pub tx_body: Option<Box<TextEnvelope>>,
pub unclaimed_payouts: Vec<Payout>,
pub utxo: Option<String>,
pub version: MarloweVersion,
}Fields§
§assets: Box<Assets>§block: Option<Box<BlockHeader>>§continuations: Option<String>§contract_id: StringA reference to a transaction output with a transaction ID and index.
current_contract: Option<Box<Contract>>§initial_contract: Box<Contract>§metadata: HashMap<String, Metadata>§role_token_minting_policy_id: StringThe hex-encoded minting policy ID for a native Cardano token
state: Option<Box<MarloweState>>§status: TxStatus§tx_body: Option<Box<TextEnvelope>>§unclaimed_payouts: Vec<Payout>§utxo: Option<String>A reference to a transaction output with a transaction ID and index.
version: MarloweVersionImplementations§
Source§impl ContractState
impl ContractState
Trait Implementations§
Source§impl Clone for ContractState
impl Clone for ContractState
Source§fn clone(&self) -> ContractState
fn clone(&self) -> ContractState
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 ContractState
impl Debug for ContractState
Source§impl<'de> Deserialize<'de> for ContractState
impl<'de> Deserialize<'de> for ContractState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContractState
impl PartialEq for ContractState
Source§impl Serialize for ContractState
impl Serialize for ContractState
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 ContractState
Auto Trait Implementations§
impl Freeze for ContractState
impl RefUnwindSafe for ContractState
impl Send for ContractState
impl Sync for ContractState
impl Unpin for ContractState
impl UnwindSafe for ContractState
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