Enum atuin_dotfiles::store::AliasRecord
source · pub enum AliasRecord {
Create(Alias),
Delete(String),
}
Variants§
Implementations§
source§impl AliasRecord
impl AliasRecord
pub fn serialize(&self) -> Result<DecryptedData>
pub fn deserialize(data: &DecryptedData, version: &str) -> Result<Self>
Trait Implementations§
source§impl Clone for AliasRecord
impl Clone for AliasRecord
source§fn clone(&self) -> AliasRecord
fn clone(&self) -> AliasRecord
Returns a copy 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 AliasRecord
impl Debug for AliasRecord
source§impl PartialEq for AliasRecord
impl PartialEq for AliasRecord
source§fn eq(&self, other: &AliasRecord) -> bool
fn eq(&self, other: &AliasRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AliasRecord
impl StructuralPartialEq for AliasRecord
Auto Trait Implementations§
impl RefUnwindSafe for AliasRecord
impl Send for AliasRecord
impl Sync for AliasRecord
impl Unpin for AliasRecord
impl UnwindSafe for AliasRecord
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.