pub struct ContractInterfaceMap {
pub name: String,
pub key: ContractInterfaceAtomType,
pub value: ContractInterfaceAtomType,
}Fields§
§name: String§key: ContractInterfaceAtomType§value: ContractInterfaceAtomTypeImplementations§
source§impl ContractInterfaceMap
impl ContractInterfaceMap
pub fn from_map( map: &BTreeMap<ClarityName, (TypeSignature, TypeSignature)> ) -> Vec<ContractInterfaceMap>
Trait Implementations§
source§impl Clone for ContractInterfaceMap
impl Clone for ContractInterfaceMap
source§fn clone(&self) -> ContractInterfaceMap
fn clone(&self) -> ContractInterfaceMap
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 ContractInterfaceMap
impl Debug for ContractInterfaceMap
source§impl<'de> Deserialize<'de> for ContractInterfaceMap
impl<'de> Deserialize<'de> for ContractInterfaceMap
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ContractInterfaceMap, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ContractInterfaceMap, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ContractInterfaceMap
impl PartialEq for ContractInterfaceMap
source§fn eq(&self, other: &ContractInterfaceMap) -> bool
fn eq(&self, other: &ContractInterfaceMap) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ContractInterfaceMap
impl Serialize for ContractInterfaceMap
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 ContractInterfaceMap
Auto Trait Implementations§
impl RefUnwindSafe for ContractInterfaceMap
impl Send for ContractInterfaceMap
impl Sync for ContractInterfaceMap
impl Unpin for ContractInterfaceMap
impl UnwindSafe for ContractInterfaceMap
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