pub struct ContractDeployerAllowListConfig {
pub block_timestamp: Option<u64>,
pub allow_list_admins: Option<Vec<String>>,
}
Expand description
ref. https://github.com/ava-labs/subnet-evm/blob/master/precompile/contract_deployer_allow_list.go
Fields§
§block_timestamp: Option<u64>
§allow_list_admins: Option<Vec<String>>
Implementations§
Trait Implementations§
Source§impl Clone for ContractDeployerAllowListConfig
impl Clone for ContractDeployerAllowListConfig
Source§fn clone(&self) -> ContractDeployerAllowListConfig
fn clone(&self) -> ContractDeployerAllowListConfig
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<'de> Deserialize<'de> for ContractDeployerAllowListConfig
impl<'de> Deserialize<'de> for ContractDeployerAllowListConfig
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 ContractDeployerAllowListConfig
impl PartialEq for ContractDeployerAllowListConfig
Source§fn eq(&self, other: &ContractDeployerAllowListConfig) -> bool
fn eq(&self, other: &ContractDeployerAllowListConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ContractDeployerAllowListConfig
impl StructuralPartialEq for ContractDeployerAllowListConfig
Auto Trait Implementations§
impl Freeze for ContractDeployerAllowListConfig
impl RefUnwindSafe for ContractDeployerAllowListConfig
impl Send for ContractDeployerAllowListConfig
impl Sync for ContractDeployerAllowListConfig
impl Unpin for ContractDeployerAllowListConfig
impl UnwindSafe for ContractDeployerAllowListConfig
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