pub struct FunctionMetadata {
pub is_constructor: bool,
pub is_fallback: bool,
pub is_receive: bool,
pub estimated_gas: Option<u64>,
pub can_reenter: bool,
pub has_assembly: bool,
pub calls_external: bool,
pub modifies_state: bool,
}Fields§
§is_constructor: bool§is_fallback: bool§is_receive: bool§estimated_gas: Option<u64>§can_reenter: bool§has_assembly: bool§calls_external: bool§modifies_state: boolTrait Implementations§
Source§impl Clone for FunctionMetadata
impl Clone for FunctionMetadata
Source§fn clone(&self) -> FunctionMetadata
fn clone(&self) -> FunctionMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionMetadata
impl Debug for FunctionMetadata
Source§impl Default for FunctionMetadata
impl Default for FunctionMetadata
Source§fn default() -> FunctionMetadata
fn default() -> FunctionMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionMetadata
impl<'de> Deserialize<'de> for FunctionMetadata
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
Auto Trait Implementations§
impl Freeze for FunctionMetadata
impl RefUnwindSafe for FunctionMetadata
impl Send for FunctionMetadata
impl Sync for FunctionMetadata
impl Unpin for FunctionMetadata
impl UnsafeUnpin for FunctionMetadata
impl UnwindSafe for FunctionMetadata
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