pub struct PlannerItem {
pub plan_item: PlanItem,
pub classification: UpdateClassification,
pub visible: bool,
pub selected: bool,
pub classification_reason: String,
pub requires_hardware_check: bool,
pub min_rocm_version: String,
}Expand description
An update candidate produced by the planner.
Extends the base PlanItem with classification, visibility, and
compatibility information.
Fields§
§plan_item: PlanItemBase plan item with risk tier, dependencies, etc.
classification: UpdateClassificationUpdate classification (safe/guarded/blocked/candidate/experimental).
visible: boolWhether this item is visible in the default plan view.
selected: boolWhether this item is preselected for apply.
classification_reason: StringReason for the classification (human-readable).
requires_hardware_check: boolWhether this component requires hardware compatibility check.
min_rocm_version: StringMinimum ROCm version required for this update (empty = any).
Trait Implementations§
Source§impl Clone for PlannerItem
impl Clone for PlannerItem
Source§fn clone(&self) -> PlannerItem
fn clone(&self) -> PlannerItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlannerItem
impl Debug for PlannerItem
Source§impl<'de> Deserialize<'de> for PlannerItem
impl<'de> Deserialize<'de> for PlannerItem
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 From<&PlannerItem> for PlannerItemOutput
impl From<&PlannerItem> for PlannerItemOutput
Source§fn from(item: &PlannerItem) -> Self
fn from(item: &PlannerItem) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlannerItem
impl PartialEq for PlannerItem
Source§fn eq(&self, other: &PlannerItem) -> bool
fn eq(&self, other: &PlannerItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlannerItem
impl Serialize for PlannerItem
impl StructuralPartialEq for PlannerItem
Auto Trait Implementations§
impl Freeze for PlannerItem
impl RefUnwindSafe for PlannerItem
impl Send for PlannerItem
impl Sync for PlannerItem
impl Unpin for PlannerItem
impl UnsafeUnpin for PlannerItem
impl UnwindSafe for PlannerItem
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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