pub struct VaultCommit(pub CommitHash, pub VaultEntry);Expand description
Encrypted secret with an associated commit hash.
Tuple Fields§
§0: CommitHash§1: VaultEntryTrait Implementations§
Source§impl Clone for VaultCommit
impl Clone for VaultCommit
Source§fn clone(&self) -> VaultCommit
fn clone(&self) -> VaultCommit
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 VaultCommit
impl Debug for VaultCommit
Source§impl Decodable for VaultCommit
impl Decodable for VaultCommit
Source§impl Default for VaultCommit
impl Default for VaultCommit
Source§fn default() -> VaultCommit
fn default() -> VaultCommit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VaultCommit
impl<'de> Deserialize<'de> for VaultCommit
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 VaultCommit
impl Encodable for VaultCommit
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 VaultCommit
impl PartialEq for VaultCommit
Source§impl Serialize for VaultCommit
impl Serialize for VaultCommit
impl Eq for VaultCommit
impl StructuralPartialEq for VaultCommit
Auto Trait Implementations§
impl Freeze for VaultCommit
impl RefUnwindSafe for VaultCommit
impl Send for VaultCommit
impl Sync for VaultCommit
impl Unpin for VaultCommit
impl UnwindSafe for VaultCommit
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