pub struct ContractInterfaceMap {
pub name: String,
pub key: ContractInterfaceAtomType,
pub value: ContractInterfaceAtomType,
}
Fields§
§name: String
§key: ContractInterfaceAtomType
§value: ContractInterfaceAtomType
Implementations§
§impl ContractInterfaceMap
impl ContractInterfaceMap
pub fn from_map( map: &BTreeMap<ClarityName, (TypeSignature, TypeSignature)> ) -> Vec<ContractInterfaceMap>
Trait Implementations§
§impl Clone for ContractInterfaceMap
impl Clone for ContractInterfaceMap
§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 more§impl Debug for ContractInterfaceMap
impl Debug for ContractInterfaceMap
§impl<'de> Deserialize<'de> for ContractInterfaceMap
impl<'de> Deserialize<'de> for ContractInterfaceMap
§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
§impl PartialEq for ContractInterfaceMap
impl PartialEq for ContractInterfaceMap
§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 ==
.§impl Serialize for ContractInterfaceMap
impl Serialize for ContractInterfaceMap
§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