pub struct SecurityFlags {
pub has_external_calls: bool,
pub has_delegatecalls: bool,
pub has_selfdestruct: bool,
pub has_assembly: bool,
pub is_upgradeable: bool,
pub uses_randomness: bool,
}Fields§
§has_external_calls: bool§has_delegatecalls: bool§has_selfdestruct: bool§has_assembly: bool§is_upgradeable: bool§uses_randomness: boolTrait Implementations§
Source§impl Clone for SecurityFlags
impl Clone for SecurityFlags
Source§fn clone(&self) -> SecurityFlags
fn clone(&self) -> SecurityFlags
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 SecurityFlags
impl Debug for SecurityFlags
Source§impl Default for SecurityFlags
impl Default for SecurityFlags
Source§fn default() -> SecurityFlags
fn default() -> SecurityFlags
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecurityFlags
impl<'de> Deserialize<'de> for SecurityFlags
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 SecurityFlags
impl RefUnwindSafe for SecurityFlags
impl Send for SecurityFlags
impl Sync for SecurityFlags
impl Unpin for SecurityFlags
impl UnsafeUnpin for SecurityFlags
impl UnwindSafe for SecurityFlags
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