pub struct SystemVersion {
pub name: String,
pub version: String,
pub description: String,
pub type: ComponentType,
}Expand description
Represents version information for a system component
Fields§
§name: StringName of the component
version: StringVersion string (semantic version, git hash, etc.)
description: StringHuman-readable description of the component
type: ComponentTypeType of component
Trait Implementations§
Source§impl Clone for SystemVersion
impl Clone for SystemVersion
Source§fn clone(&self) -> SystemVersion
fn clone(&self) -> SystemVersion
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 moreAuto Trait Implementations§
impl Freeze for SystemVersion
impl RefUnwindSafe for SystemVersion
impl Send for SystemVersion
impl Sync for SystemVersion
impl Unpin for SystemVersion
impl UnwindSafe for SystemVersion
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