Struct netcorehost::hostfxr::EnvironmentInfo
source · pub struct EnvironmentInfo {
pub hostfxr_version: String,
pub hostfxr_commit_hash: String,
pub sdks: Vec<SdkInfo>,
pub frameworks: Vec<FrameworkInfo>,
}
Available on crate feature
net6_0
only.Expand description
Information about the current dotnet environment loaded using Hostfxr::get_dotnet_environment_info.
Fields§
§hostfxr_version: String
Version of hostfxr used to load this info.
hostfxr_commit_hash: String
Commit hash of hostfxr used to load this info.
sdks: Vec<SdkInfo>
Currently installed sdks, ordered by version ascending.
frameworks: Vec<FrameworkInfo>
Currently installed frameworks, ordered by name and then version ascending.
Trait Implementations§
source§impl Clone for EnvironmentInfo
impl Clone for EnvironmentInfo
source§fn clone(&self) -> EnvironmentInfo
fn clone(&self) -> EnvironmentInfo
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 EnvironmentInfo
impl Debug for EnvironmentInfo
source§impl PartialEq for EnvironmentInfo
impl PartialEq for EnvironmentInfo
source§impl PartialOrd for EnvironmentInfo
impl PartialOrd for EnvironmentInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for EnvironmentInfo
Auto Trait Implementations§
impl RefUnwindSafe for EnvironmentInfo
impl Send for EnvironmentInfo
impl Sync for EnvironmentInfo
impl Unpin 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