pub struct AbiFunction { /* private fields */ }
Implementations§
Source§impl AbiFunction
impl AbiFunction
pub fn constant<T>(self, value: T) -> Self
pub fn gas<T>(self, value: T) -> Self
pub fn inputs<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn outputs<T>(self, value: T) -> Self
pub fn payable<T>(self, value: T) -> Self
pub fn state_mutability<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for AbiFunction
impl Clone for AbiFunction
Source§fn clone(&self) -> AbiFunction
fn clone(&self) -> AbiFunction
Returns a duplicate 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 AbiFunction
impl Debug for AbiFunction
Source§impl Default for AbiFunction
impl Default for AbiFunction
Source§impl From<AbiFunction> for AbiFunction
impl From<AbiFunction> for AbiFunction
Source§fn from(value: AbiFunction) -> Self
fn from(value: AbiFunction) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AbiFunction> for AbiFunction
impl TryFrom<AbiFunction> for AbiFunction
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AbiFunction) -> Result<Self, ConversionError>
fn try_from(value: AbiFunction) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AbiFunction
impl RefUnwindSafe for AbiFunction
impl Send for AbiFunction
impl Sync for AbiFunction
impl Unpin for AbiFunction
impl UnwindSafe for AbiFunction
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