pub struct EnvironmentSection {
pub rustc: Option<String>,
pub cargo: Option<String>,
pub rustup: Option<String>,
pub network: bool,
pub cli: String,
}Expand description
Данные об окружении.
Fields§
§rustc: Option<String>Версия rustc (null, если не найден).
cargo: Option<String>Версия cargo.
rustup: Option<String>Версия rustup (опционально).
network: boolДоступна ли сеть.
cli: StringВерсия самого CLI.
Trait Implementations§
Source§impl Clone for EnvironmentSection
impl Clone for EnvironmentSection
Source§impl Debug for EnvironmentSection
impl Debug for EnvironmentSection
Auto Trait Implementations§
impl Freeze for EnvironmentSection
impl RefUnwindSafe for EnvironmentSection
impl Send for EnvironmentSection
impl Sync for EnvironmentSection
impl Unpin for EnvironmentSection
impl UnsafeUnpin for EnvironmentSection
impl UnwindSafe for EnvironmentSection
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