pub struct SpecInheritance {
pub parent_id: Option<String>,
pub precedence_level: u32,
pub merged_from: Vec<String>,
}Expand description
Inheritance information for hierarchical specs
Fields§
§parent_id: Option<String>ID of parent spec (if any)
precedence_level: u32Precedence level (0=project, 1=feature, 2=task)
merged_from: Vec<String>IDs of specs this was merged from
Trait Implementations§
Source§impl Clone for SpecInheritance
impl Clone for SpecInheritance
Source§fn clone(&self) -> SpecInheritance
fn clone(&self) -> SpecInheritance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpecInheritance
impl Debug for SpecInheritance
Source§impl<'de> Deserialize<'de> for SpecInheritance
impl<'de> Deserialize<'de> for SpecInheritance
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 SpecInheritance
impl RefUnwindSafe for SpecInheritance
impl Send for SpecInheritance
impl Sync for SpecInheritance
impl Unpin for SpecInheritance
impl UnwindSafe for SpecInheritance
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