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