pub struct SnapshotGrouping {
pub grouped_by: String,
pub group_filter: Option<Vec<String>>,
pub groups: Vec<GroupSnapshot>,
}Expand description
Group data stored in a snapshot of a --group-by run.
Fields§
§grouped_by: StringGrouping mode label (owner, directory, package, section).
group_filter: Option<Vec<String>>The --group selector patterns of the run, when given. A group that the
selector removed is not in groups.
groups: Vec<GroupSnapshot>One entry per group that the run kept.
Trait Implementations§
Source§impl Clone for SnapshotGrouping
impl Clone for SnapshotGrouping
Source§impl Debug for SnapshotGrouping
impl Debug for SnapshotGrouping
Source§impl<'de> Deserialize<'de> for SnapshotGrouping
impl<'de> Deserialize<'de> for SnapshotGrouping
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
Auto Trait Implementations§
impl Freeze for SnapshotGrouping
impl RefUnwindSafe for SnapshotGrouping
impl Send for SnapshotGrouping
impl Sync for SnapshotGrouping
impl Unpin for SnapshotGrouping
impl UnsafeUnpin for SnapshotGrouping
impl UnwindSafe for SnapshotGrouping
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