pub struct APIContractState {
pub contract_name: String,
pub block_hash: ConsensusProposalHash,
pub state_commitment: Vec<u8>,
}Fields§
§contract_name: String§block_hash: ConsensusProposalHash§state_commitment: Vec<u8>Trait Implementations§
Source§impl ComposeSchema for APIContractState
impl ComposeSchema for APIContractState
Source§impl Debug for APIContractState
impl Debug for APIContractState
Source§impl<'de> Deserialize<'de> for APIContractState
impl<'de> Deserialize<'de> for APIContractState
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 Serialize for APIContractState
impl Serialize for APIContractState
Auto Trait Implementations§
impl Freeze for APIContractState
impl RefUnwindSafe for APIContractState
impl Send for APIContractState
impl Sync for APIContractState
impl Unpin for APIContractState
impl UnsafeUnpin for APIContractState
impl UnwindSafe for APIContractState
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