pub struct Build {
pub build_id: i64,
pub name: String,
pub version: String,
pub release: String,
pub nvr: String,
}Expand description
A completed build from the CBS Koji instance.
Fields§
§build_id: i64§name: String§version: String§release: String§nvr: StringImplementations§
Source§impl Build
impl Build
Sourcepub fn is_hyperscale(&self) -> bool
pub fn is_hyperscale(&self) -> bool
Whether this is a Hyperscale build (release contains “.hs.”).
Sourcepub fn el_version(&self) -> Option<u32>
pub fn el_version(&self) -> Option<u32>
Return the EL version this build targets (e.g. 9, 10), if detectable.
Matches .elN or .elN_Z at the end of the release string.
Trait Implementations§
impl StructuralPartialEq for Build
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnsafeUnpin for Build
impl UnwindSafe for Build
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