pub struct Listing {
pub rows: Vec<(ProfileName, Vec<String>)>,
pub ignored: usize,
}Expand description
What list and profiles show (SP5a design §3): one row per valid profile directory, plus the count
of entries that were skipped as unrecognized.
Fields§
§rows: Vec<(ProfileName, Vec<String>)>One row per profile directory, sorted by profile name: the profile and the ids of the agents
materialized for it, in the given adapters order. A row may list no agent.
ignored: usizeEntries of the profiles directory and child directories under a listed profile that were not part of any row: non-directories, invalid names and unknown agent directories.
Trait Implementations§
impl Eq for Listing
impl StructuralPartialEq for Listing
Auto Trait Implementations§
impl Freeze for Listing
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnsafeUnpin for Listing
impl UnwindSafe for Listing
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.