Struct stacks_rpc_client::clarity::vm::analysis::contract_interface_builder::ContractInterfaceFunction
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: ContractInterfaceFunctionOutput
Implementations§
§impl ContractInterfaceFunction
impl ContractInterfaceFunction
pub fn from_map( map: &BTreeMap<ClarityName, FunctionType>, access: ContractInterfaceFunctionAccess ) -> Vec<ContractInterfaceFunction>
Trait Implementations§
§impl Clone for ContractInterfaceFunction
impl Clone for ContractInterfaceFunction
§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 more§impl Debug for ContractInterfaceFunction
impl Debug for ContractInterfaceFunction
§impl<'de> Deserialize<'de> for ContractInterfaceFunction
impl<'de> Deserialize<'de> for ContractInterfaceFunction
§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
§impl PartialEq for ContractInterfaceFunction
impl PartialEq for ContractInterfaceFunction
§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 ==
.§impl Serialize for ContractInterfaceFunction
impl Serialize for ContractInterfaceFunction
§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