pub struct FmdKeyRegistration {
pub fmd_key: DetectionKey,
pub enc_key: EncKey,
pub birthday: Option<u64>,
}Expand description
The data needed to register a user’s key with the Kassandra service.
Fields§
§fmd_key: DetectionKeyThe secret detection key for FMD
enc_key: EncKeyA symmetric encryption key for storing encrypted results for users in a transparent database
birthday: Option<u64>An optional block height to start detecting from
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FmdKeyRegistration
impl<'de> Deserialize<'de> for FmdKeyRegistration
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 FmdKeyRegistration
impl RefUnwindSafe for FmdKeyRegistration
impl Send for FmdKeyRegistration
impl Sync for FmdKeyRegistration
impl Unpin for FmdKeyRegistration
impl UnwindSafe for FmdKeyRegistration
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