pub struct ComponentReport {
pub name: &'static str,
pub requirement: Requirement,
pub status: ComponentStatus,
pub detail: String,
pub notes: Vec<String>,
}Expand description
Outcome of inspecting one component.
Fields§
§name: &'static strComponent name shown to the user.
requirement: RequirementWhether the component is required or optional.
status: ComponentStatusDetected availability.
detail: StringExtra detail: a version string, or why the component is unavailable.
notes: Vec<String>Lines printed under the component, in the order they were added.
What a helper said about itself does not fit on the line that says whether it is there, and squeezing it in would make the common case — reading down the status column — harder for the sake of the rare one.
Trait Implementations§
Source§impl Clone for ComponentReport
impl Clone for ComponentReport
Source§fn clone(&self) -> ComponentReport
fn clone(&self) -> ComponentReport
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 moreAuto Trait Implementations§
impl Freeze for ComponentReport
impl RefUnwindSafe for ComponentReport
impl Send for ComponentReport
impl Sync for ComponentReport
impl Unpin for ComponentReport
impl UnsafeUnpin for ComponentReport
impl UnwindSafe for ComponentReport
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