pub struct LockedItem {
pub id: String,
pub zone: String,
}Expand description
Lightweight placeholder for an encrypted item the caller cannot
decrypt. ID is read from the filename, zone from the JOYCRYPT magic
header; nothing is decrypted. Used by joy ls to render a [Crypted in zone <name>] row instead of failing the whole listing. See
JOY-0174-D3.
Fields§
§id: String§zone: StringTrait Implementations§
Source§impl Clone for LockedItem
impl Clone for LockedItem
Source§fn clone(&self) -> LockedItem
fn clone(&self) -> LockedItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LockedItem
impl RefUnwindSafe for LockedItem
impl Send for LockedItem
impl Sync for LockedItem
impl Unpin for LockedItem
impl UnsafeUnpin for LockedItem
impl UnwindSafe for LockedItem
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