pub struct HostProfile {
pub is_server: bool,
pub architecture: Architecture,
}Expand description
Combined host family and native architecture snapshot used for installer selection.
Fields§
§is_server: booltrue when Windows reports a server-class product type.
architecture: ArchitectureNative CPU architecture reported by Windows.
Implementations§
Source§impl HostProfile
impl HostProfile
Return the Winget platform labels accepted for this host profile.
Trait Implementations§
Source§impl Clone for HostProfile
impl Clone for HostProfile
Source§fn clone(&self) -> HostProfile
fn clone(&self) -> HostProfile
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 HostProfile
impl Debug for HostProfile
Source§impl Display for HostProfile
impl Display for HostProfile
Source§impl PartialEq for HostProfile
impl PartialEq for HostProfile
impl Copy for HostProfile
impl Eq for HostProfile
impl StructuralPartialEq for HostProfile
Auto Trait Implementations§
impl Freeze for HostProfile
impl RefUnwindSafe for HostProfile
impl Send for HostProfile
impl Sync for HostProfile
impl Unpin for HostProfile
impl UnwindSafe for HostProfile
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