Struct diem_types::block_metadata::DiemBlockResource
source · pub struct DiemBlockResource { /* private fields */ }
Implementations§
source§impl DiemBlockResource
impl DiemBlockResource
pub fn new_block_events(&self) -> &EventHandle
pub fn height(&self) -> u64
Trait Implementations§
source§impl<'de> Deserialize<'de> for DiemBlockResource
impl<'de> Deserialize<'de> for DiemBlockResource
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 DiemBlockResource
impl MoveResource for DiemBlockResource
source§impl MoveStructType for DiemBlockResource
impl MoveStructType for DiemBlockResource
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 DiemBlockResource
impl Send for DiemBlockResource
impl Sync for DiemBlockResource
impl Unpin for DiemBlockResource
impl UnwindSafe for DiemBlockResource
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.