pub struct ResolvedDistroKernel {
pub distro: String,
pub kernel_release: String,
pub arch: String,
pub packages: Vec<PackageRef>,
pub debuginfo: Vec<PackageRef>,
}Expand description
The resolved kernel for a distro spec: the packages that carry the kernel image + modules, plus the vmlinux-bearing debuginfo packages.
Fields§
§distro: StringShort distro tag, e.g. "fedora44", "ubuntu24.04-hwe", "al2023".
kernel_release: StringPackage version-release, best effort (e.g. "7.1.3-200.fc44").
arch: StringDistro package architecture (x86_64/aarch64 for Fedora/AL,
amd64/arm64 for Ubuntu).
packages: Vec<PackageRef>Kernel image + modules packages, in download order.
debuginfo: Vec<PackageRef>vmlinux-bearing debuginfo packages.
Trait Implementations§
Source§impl Clone for ResolvedDistroKernel
impl Clone for ResolvedDistroKernel
Source§fn clone(&self) -> ResolvedDistroKernel
fn clone(&self) -> ResolvedDistroKernel
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 ResolvedDistroKernel
impl Debug for ResolvedDistroKernel
Source§impl<'de> Deserialize<'de> for ResolvedDistroKernel
impl<'de> Deserialize<'de> for ResolvedDistroKernel
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
Source§impl PartialEq for ResolvedDistroKernel
impl PartialEq for ResolvedDistroKernel
Source§impl Serialize for ResolvedDistroKernel
impl Serialize for ResolvedDistroKernel
impl Eq for ResolvedDistroKernel
impl StructuralPartialEq for ResolvedDistroKernel
Auto Trait Implementations§
impl Freeze for ResolvedDistroKernel
impl RefUnwindSafe for ResolvedDistroKernel
impl Send for ResolvedDistroKernel
impl Sync for ResolvedDistroKernel
impl Unpin for ResolvedDistroKernel
impl UnwindSafe for ResolvedDistroKernel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more