pub struct Group {
pub id: String,
pub label: String,
pub description: String,
pub reason: String,
pub effort: Effort,
pub role: Option<Role>,
pub class_ids: Vec<String>,
pub depends_on: Vec<String>,
pub rank: u32,
}Expand description
A merged, labelled group of shape classes. Produced by the grouping stage.
Fields§
§id: String§label: String§description: String§reason: String§effort: Effort§role: Option<Role>None until the ordering stage runs — role is an ordering-stage output.
class_ids: Vec<String>§depends_on: Vec<String>Group ids this group depends on (it consumes what they define).
rank: u32Position in the foundation-first ordering.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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