#[non_exhaustive]pub struct V2EncryptedFileInfo {
pub k: Base64<UrlSafe, [u8; 32]>,
pub iv: Base64<Standard, [u8; 16]>,
}Expand description
A file encrypted with the AES-CTR algorithm with a 256-bit key.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.k: Base64<UrlSafe, [u8; 32]>The 256-bit key used to encrypt or decrypt the file.
iv: Base64<Standard, [u8; 16]>The 128-bit unique counter block used by AES-CTR.
Implementations§
Trait Implementations§
Source§impl Clone for V2EncryptedFileInfo
impl Clone for V2EncryptedFileInfo
Source§fn clone(&self) -> V2EncryptedFileInfo
fn clone(&self) -> V2EncryptedFileInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for V2EncryptedFileInfo
impl Debug for V2EncryptedFileInfo
Source§impl<'de> Deserialize<'de> for V2EncryptedFileInfo
impl<'de> Deserialize<'de> for V2EncryptedFileInfo
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 Drop for V2EncryptedFileInfo
impl Drop for V2EncryptedFileInfo
Source§impl From<V2EncryptedFileInfo> for EncryptedFileInfo
impl From<V2EncryptedFileInfo> for EncryptedFileInfo
Source§fn from(value: V2EncryptedFileInfo) -> Self
fn from(value: V2EncryptedFileInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for V2EncryptedFileInfo
impl RefUnwindSafe for V2EncryptedFileInfo
impl Send for V2EncryptedFileInfo
impl Sync for V2EncryptedFileInfo
impl Unpin for V2EncryptedFileInfo
impl UnsafeUnpin for V2EncryptedFileInfo
impl UnwindSafe for V2EncryptedFileInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more