pub struct SystemComponentVersion {
pub api_version: Option<String>,
pub arch: Option<String>,
pub build_time: Option<String>,
pub components: Option<Vec<ComponentVersion>>,
pub experimental: Option<bool>,
pub git_commit: Option<String>,
pub go_version: Option<String>,
pub kernel_version: Option<String>,
pub min_api_version: Option<String>,
pub os: Option<String>,
pub platform: Option<Box<SystemComponentVersionPlatform>>,
pub version: Option<String>,
}
Expand description
SystemComponentVersion : SystemComponentVersion is the type used by pkg/domain/entities
Fields§
§api_version: Option<String>
§arch: Option<String>
§build_time: Option<String>
§components: Option<Vec<ComponentVersion>>
§experimental: Option<bool>
§git_commit: Option<String>
§go_version: Option<String>
§kernel_version: Option<String>
§min_api_version: Option<String>
§os: Option<String>
§platform: Option<Box<SystemComponentVersionPlatform>>
§version: Option<String>
Implementations§
Source§impl SystemComponentVersion
impl SystemComponentVersion
Sourcepub fn new() -> SystemComponentVersion
pub fn new() -> SystemComponentVersion
SystemComponentVersion is the type used by pkg/domain/entities
Trait Implementations§
Source§impl Clone for SystemComponentVersion
impl Clone for SystemComponentVersion
Source§fn clone(&self) -> SystemComponentVersion
fn clone(&self) -> SystemComponentVersion
Returns a copy 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 SystemComponentVersion
impl Debug for SystemComponentVersion
Source§impl Default for SystemComponentVersion
impl Default for SystemComponentVersion
Source§fn default() -> SystemComponentVersion
fn default() -> SystemComponentVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemComponentVersion
impl<'de> Deserialize<'de> for SystemComponentVersion
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 SystemComponentVersion
impl PartialEq for SystemComponentVersion
Source§impl Serialize for SystemComponentVersion
impl Serialize for SystemComponentVersion
impl StructuralPartialEq for SystemComponentVersion
Auto Trait Implementations§
impl Freeze for SystemComponentVersion
impl RefUnwindSafe for SystemComponentVersion
impl Send for SystemComponentVersion
impl Sync for SystemComponentVersion
impl Unpin for SystemComponentVersion
impl UnwindSafe for SystemComponentVersion
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