Struct diem_types::account_config::events::compliance_key_rotation::ComplianceKeyRotationEvent
source · pub struct ComplianceKeyRotationEvent { /* private fields */ }
Expand description
Struct that represents a ComplianceKeyRotationEvent.
Implementations§
source§impl ComplianceKeyRotationEvent
impl ComplianceKeyRotationEvent
sourcepub fn new_compliance_public_key(&self) -> &[u8] ⓘ
pub fn new_compliance_public_key(&self) -> &[u8] ⓘ
Get the new compliance public key
sourcepub fn time_rotated_seconds(&self) -> u64
pub fn time_rotated_seconds(&self) -> u64
Get the (blockchain) time in seconds when the url was rotated
pub fn try_from_bytes(bytes: &[u8]) -> Result<Self>
Trait Implementations§
source§impl Debug for ComplianceKeyRotationEvent
impl Debug for ComplianceKeyRotationEvent
source§impl<'de> Deserialize<'de> for ComplianceKeyRotationEvent
impl<'de> Deserialize<'de> for ComplianceKeyRotationEvent
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 MoveStructType for ComplianceKeyRotationEvent
impl MoveStructType for ComplianceKeyRotationEvent
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 ComplianceKeyRotationEvent
impl Send for ComplianceKeyRotationEvent
impl Sync for ComplianceKeyRotationEvent
impl Unpin for ComplianceKeyRotationEvent
impl UnwindSafe for ComplianceKeyRotationEvent
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.