pub struct Project {
pub name: String,
pub version: String,
pub description: Option<String>,
pub authors: Vec<String>,
pub license: Option<String>,
pub edition: Option<String>,
pub project_type: Option<String>,
pub language: Option<String>,
pub uri: Option<String>,
pub namespace: Option<String>,
pub extends: Option<String>,
pub output_dir: Option<PathBuf>,
}Expand description
Project metadata and settings
Fields§
§name: StringProject name (required)
version: StringProject version (required)
description: Option<String>Project description
Project authors
license: Option<String>License identifier
edition: Option<String>Rust edition (2015, 2018, 2021, 2024)
project_type: Option<String>Project type (auto, library, binary, workspace)
language: Option<String>Primary language (auto, rust, typescript, python, multi)
uri: Option<String>RDF URI for this project
namespace: Option<String>Short namespace prefix for RDF queries
extends: Option<String>Template to inherit from
output_dir: Option<PathBuf>Output directory (legacy support)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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