pub struct EntrySummary {
pub id: EntryId,
pub title: String,
pub username: Option<String>,
pub url: Option<String>,
pub attachment_names: Vec<String>,
pub group_path: Vec<String>,
}Expand description
Non-secret summary of an entry. Suitable for listing without unlocking secrets.
Fields§
§id: EntryId§title: String§username: Option<String>§url: Option<String>§attachment_names: Vec<String>§group_path: Vec<String>Names of the groups containing this entry, root → leaf. Root group
itself is excluded (an entry directly under root has an empty
group_path). Use display_path() to render as Group/Sub/Title.
Implementations§
Source§impl EntrySummary
impl EntrySummary
Sourcepub fn display_path(&self) -> String
pub fn display_path(&self) -> String
Format the full path as Group/Sub/.../Title. Falls back to just
the title when the entry lives at the root.
Trait Implementations§
Source§impl Clone for EntrySummary
impl Clone for EntrySummary
Source§fn clone(&self) -> EntrySummary
fn clone(&self) -> EntrySummary
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 EntrySummary
impl RefUnwindSafe for EntrySummary
impl Send for EntrySummary
impl Sync for EntrySummary
impl Unpin for EntrySummary
impl UnsafeUnpin for EntrySummary
impl UnwindSafe for EntrySummary
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