pub struct VersionedKey {
pub version: u32,
pub key: Vec<u8>,
pub created_at: SystemTime,
}Expand description
带版本的密钥
Fields§
§version: u32密钥版本
key: Vec<u8>密钥字节
created_at: SystemTime创建时间
Trait Implementations§
Source§impl Clone for VersionedKey
impl Clone for VersionedKey
Source§fn clone(&self) -> VersionedKey
fn clone(&self) -> VersionedKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VersionedKey
impl RefUnwindSafe for VersionedKey
impl Send for VersionedKey
impl Sync for VersionedKey
impl Unpin for VersionedKey
impl UnsafeUnpin for VersionedKey
impl UnwindSafe for VersionedKey
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