pub struct VaultEntry(pub AeadPack, pub AeadPack);Expand description
Secret as an encrypted pair of meta and secret data.
Tuple Fields§
§0: AeadPack§1: AeadPackTrait Implementations§
Source§impl Clone for VaultEntry
impl Clone for VaultEntry
Source§fn clone(&self) -> VaultEntry
fn clone(&self) -> VaultEntry
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 VaultEntry
impl Debug for VaultEntry
Source§impl Decodable for VaultEntry
impl Decodable for VaultEntry
Source§impl Default for VaultEntry
impl Default for VaultEntry
Source§fn default() -> VaultEntry
fn default() -> VaultEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VaultEntry
impl<'de> Deserialize<'de> for VaultEntry
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 Encodable for VaultEntry
impl Encodable for VaultEntry
Source§fn encode<'life0, 'life1, 'async_trait, W>(
&'life0 self,
writer: &'life1 mut BinaryWriter<W>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + AsyncSeek + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn encode<'life0, 'life1, 'async_trait, W>(
&'life0 self,
writer: &'life1 mut BinaryWriter<W>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + AsyncSeek + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Encode self into the binary writer.
Source§impl PartialEq for VaultEntry
impl PartialEq for VaultEntry
Source§impl Serialize for VaultEntry
impl Serialize for VaultEntry
impl Eq for VaultEntry
impl StructuralPartialEq for VaultEntry
Auto Trait Implementations§
impl Freeze for VaultEntry
impl RefUnwindSafe for VaultEntry
impl Send for VaultEntry
impl Sync for VaultEntry
impl Unpin for VaultEntry
impl UnwindSafe for VaultEntry
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