pub struct EnvironmentInfo {
pub label: String,
pub os: String,
pub arch: String,
pub devices: Vec<String>,
}Expand description
Description of one environment a bundle was captured on. Informational: correctness never depends on these fields.
Fields§
§label: StringShort machine-friendly label, e.g. “h100-linux”.
os: StringOperating system, e.g. “linux”.
arch: StringCPU architecture, e.g. x86_64.
devices: Vec<String>Free-form device fingerprints, e.g. cuda-0: NVIDIA H100 PCIe (sm_90).
Trait Implementations§
Source§impl Clone for EnvironmentInfo
impl Clone for EnvironmentInfo
Source§fn clone(&self) -> EnvironmentInfo
fn clone(&self) -> EnvironmentInfo
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 EnvironmentInfo
impl Debug for EnvironmentInfo
Source§impl Default for EnvironmentInfo
impl Default for EnvironmentInfo
Source§fn default() -> EnvironmentInfo
fn default() -> EnvironmentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentInfo
impl<'de> Deserialize<'de> for EnvironmentInfo
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
Auto Trait Implementations§
impl Freeze for EnvironmentInfo
impl RefUnwindSafe for EnvironmentInfo
impl Send for EnvironmentInfo
impl Sync for EnvironmentInfo
impl Unpin for EnvironmentInfo
impl UnsafeUnpin for EnvironmentInfo
impl UnwindSafe for EnvironmentInfo
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