pub struct VaultMeta { /* private fields */ }Expand description
Vault meta data.
Implementations§
Source§impl VaultMeta
impl VaultMeta
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Get the vault description.
Sourcepub fn set_description(&mut self, description: String)
pub fn set_description(&mut self, description: String)
Get the vault description.
Sourcepub fn date_created(&self) -> &UtcDateTime
pub fn date_created(&self) -> &UtcDateTime
Date this vault was initialized.
Trait Implementations§
Source§impl Decodable for VaultMeta
impl Decodable for VaultMeta
Source§impl<'de> Deserialize<'de> for VaultMeta
impl<'de> Deserialize<'de> for VaultMeta
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 VaultMeta
impl Encodable for VaultMeta
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.
Auto Trait Implementations§
impl Freeze for VaultMeta
impl RefUnwindSafe for VaultMeta
impl Send for VaultMeta
impl Sync for VaultMeta
impl Unpin for VaultMeta
impl UnwindSafe for VaultMeta
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