pub struct LeanAbiFunction {
pub name: Option<String>,
pub inputs: Vec<ParameterWithValue>,
}
Fields§
§name: Option<String>
The function name
inputs: Vec<ParameterWithValue>
The function inputs
Implementations§
Source§impl LeanAbiFunction
impl LeanAbiFunction
pub fn new(inputs: Vec<ParameterWithValue>) -> LeanAbiFunction
Trait Implementations§
Source§impl Clone for LeanAbiFunction
impl Clone for LeanAbiFunction
Source§fn clone(&self) -> LeanAbiFunction
fn clone(&self) -> LeanAbiFunction
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 LeanAbiFunction
impl Debug for LeanAbiFunction
Source§impl Default for LeanAbiFunction
impl Default for LeanAbiFunction
Source§fn default() -> LeanAbiFunction
fn default() -> LeanAbiFunction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LeanAbiFunction
impl<'de> Deserialize<'de> for LeanAbiFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LeanAbiFunction
impl PartialEq for LeanAbiFunction
Source§impl Serialize for LeanAbiFunction
impl Serialize for LeanAbiFunction
impl StructuralPartialEq for LeanAbiFunction
Auto Trait Implementations§
impl Freeze for LeanAbiFunction
impl RefUnwindSafe for LeanAbiFunction
impl Send for LeanAbiFunction
impl Sync for LeanAbiFunction
impl Unpin for LeanAbiFunction
impl UnwindSafe for LeanAbiFunction
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