pub struct PlatformInfo {
pub arch: String,
pub os: String,
pub version: Option<String>,
pub bootstrap_methods: Vec<BootstrapMethod>,
}Expand description
Platform information detected from remote host
Fields§
§arch: StringArchitecture (e.g., “x86_64”, “aarch64”)
os: StringOperating system (e.g., “Linux”, “Darwin”)
version: Option<String>OS version/distribution info
bootstrap_methods: Vec<BootstrapMethod>Available bootstrap methods
Trait Implementations§
Source§impl Clone for PlatformInfo
impl Clone for PlatformInfo
Source§fn clone(&self) -> PlatformInfo
fn clone(&self) -> PlatformInfo
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 moreSource§impl Debug for PlatformInfo
impl Debug for PlatformInfo
Source§impl PartialEq for PlatformInfo
impl PartialEq for PlatformInfo
impl Eq for PlatformInfo
impl StructuralPartialEq for PlatformInfo
Auto Trait Implementations§
impl Freeze for PlatformInfo
impl RefUnwindSafe for PlatformInfo
impl Send for PlatformInfo
impl Sync for PlatformInfo
impl Unpin for PlatformInfo
impl UnwindSafe for PlatformInfo
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