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