pub struct ProjectSection {
pub cargo_toml: bool,
pub package_section: bool,
pub templates_found: usize,
pub lockfile_present: bool,
pub lockfile_actual: bool,
pub core_version: Option<String>,
}Expand description
Данные о проекте.
Fields§
§cargo_toml: boolНайден ли Cargo.toml.
package_section: boolЕсть ли секция [package].
templates_found: usizeНайдено ли шаблонов.
lockfile_present: boolЕсть ли light.lock.
lockfile_actual: boolАктуален ли light.lock (если он есть).
core_version: Option<String>Версия ядра проекта (если определена).
Trait Implementations§
Source§impl Clone for ProjectSection
impl Clone for ProjectSection
Source§impl Debug for ProjectSection
impl Debug for ProjectSection
Auto Trait Implementations§
impl Freeze for ProjectSection
impl RefUnwindSafe for ProjectSection
impl Send for ProjectSection
impl Sync for ProjectSection
impl Unpin for ProjectSection
impl UnsafeUnpin for ProjectSection
impl UnwindSafe for ProjectSection
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