Struct diem_types::on_chain_config::ConfigurationResource
source · pub struct ConfigurationResource { /* private fields */ }
Implementations§
source§impl ConfigurationResource
impl ConfigurationResource
pub fn epoch(&self) -> u64
pub fn last_reconfiguration_time(&self) -> u64
pub fn events(&self) -> &EventHandle
pub fn bump_epoch_for_test(&self) -> Self
Trait Implementations§
source§impl Debug for ConfigurationResource
impl Debug for ConfigurationResource
source§impl Default for ConfigurationResource
impl Default for ConfigurationResource
source§impl<'de> Deserialize<'de> for ConfigurationResource
impl<'de> Deserialize<'de> for ConfigurationResource
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 MoveResource for ConfigurationResource
impl MoveResource for ConfigurationResource
source§impl MoveStructType for ConfigurationResource
impl MoveStructType for ConfigurationResource
const MODULE_NAME: &'static IdentStr = _
const STRUCT_NAME: &'static IdentStr = _
fn module_identifier() -> Identifier
fn struct_identifier() -> Identifier
fn type_params() -> Vec<TypeTag, Global> ⓘ
fn struct_tag() -> StructTag
Auto Trait Implementations§
impl RefUnwindSafe for ConfigurationResource
impl Send for ConfigurationResource
impl Sync for ConfigurationResource
impl Unpin for ConfigurationResource
impl UnwindSafe for ConfigurationResource
Blanket Implementations§
source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.