pub struct Version<'m> { /* private fields */ }Expand description
A version (revision) of a product — a PRODUCT_DEFINITION_FORMATION.
Unifies the plain formation and the WITH_SPECIFIED_SOURCE variant, which
share id / description (its make-or-buy source is out of scope for now).
Implementations§
Source§impl<'m> Version<'m>
impl<'m> Version<'m>
Sourcepub fn description(&self) -> Option<&'m str>
pub fn description(&self) -> Option<&'m str>
The version description, if any.
Sourcepub fn definitions(&self) -> impl Iterator<Item = ProductDef<'m>> + 'm
pub fn definitions(&self) -> impl Iterator<Item = ProductDef<'m>> + 'm
The definitions belonging to this version (reverse: a PRODUCT_DEFINITION
whose formation is this version).
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for Version<'m>
impl<'m> RefUnwindSafe for Version<'m>
impl<'m> Send for Version<'m>
impl<'m> Sync for Version<'m>
impl<'m> Unpin for Version<'m>
impl<'m> UnsafeUnpin for Version<'m>
impl<'m> UnwindSafe for Version<'m>
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