Struct chainhook_types::ContractInterface
source · pub struct ContractInterface {
pub functions: Vec<ContractInterfaceFunction>,
pub variables: Vec<ContractInterfaceVariable>,
pub maps: Vec<ContractInterfaceMap>,
pub fungible_tokens: Vec<ContractInterfaceFungibleTokens>,
pub non_fungible_tokens: Vec<ContractInterfaceNonFungibleTokens>,
pub epoch: String,
pub clarity_version: String,
}Fields§
§functions: Vec<ContractInterfaceFunction>§variables: Vec<ContractInterfaceVariable>§maps: Vec<ContractInterfaceMap>§fungible_tokens: Vec<ContractInterfaceFungibleTokens>§non_fungible_tokens: Vec<ContractInterfaceNonFungibleTokens>§epoch: String§clarity_version: StringTrait Implementations§
source§impl Clone for ContractInterface
impl Clone for ContractInterface
source§fn clone(&self) -> ContractInterface
fn clone(&self) -> ContractInterface
Returns a copy 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 ContractInterface
impl Debug for ContractInterface
source§impl<'de> Deserialize<'de> for ContractInterface
impl<'de> Deserialize<'de> for ContractInterface
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 PartialEq for ContractInterface
impl PartialEq for ContractInterface
source§fn eq(&self, other: &ContractInterface) -> bool
fn eq(&self, other: &ContractInterface) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ContractInterface
impl Serialize for ContractInterface
impl StructuralPartialEq for ContractInterface
Auto Trait Implementations§
impl RefUnwindSafe for ContractInterface
impl Send for ContractInterface
impl Sync for ContractInterface
impl Unpin for ContractInterface
impl UnwindSafe for ContractInterface
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