pub struct Branch {
pub category: String,
pub name: String,
pub branches: Vec<Self>,
pub product: Option<FullProductName>,
}Expand description
A branch in the product tree hierarchy.
Fields§
§category: StringBranch category (vendor, product_name, product_version,
product_version_range, product_family, architecture, language,
legacy, patch_level, service_pack, specification, host_name).
name: StringBranch display name.
branches: Vec<Self>Child branches.
product: Option<FullProductName>Product definition at this branch level.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Branch
impl<'de> Deserialize<'de> for Branch
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 Branch
Auto Trait Implementations§
impl Freeze for Branch
impl RefUnwindSafe for Branch
impl Send for Branch
impl Sync for Branch
impl Unpin for Branch
impl UnsafeUnpin for Branch
impl UnwindSafe for Branch
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