pub struct ExampleEnvironment {
pub name: String,
pub load: String,
pub folder: Option<String>,
}Expand description
Represents an example project environment entry
Identifies the project file and optional subfolder for a specific development tool
(e.g. uv, iar, csolution).
Fields§
§name: StringDevelopment tool identifier (e.g. uv, iar, csolution)
load: StringProject file path with extension, relative to the example folder
folder: Option<String>Subdirectory containing tool-specific files, relative to the example folder
Trait Implementations§
Source§impl Clone for ExampleEnvironment
impl Clone for ExampleEnvironment
Source§fn clone(&self) -> ExampleEnvironment
fn clone(&self) -> ExampleEnvironment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExampleEnvironment
impl Debug for ExampleEnvironment
Source§impl Default for ExampleEnvironment
impl Default for ExampleEnvironment
Source§fn default() -> ExampleEnvironment
fn default() -> ExampleEnvironment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExampleEnvironment
impl<'de> Deserialize<'de> for ExampleEnvironment
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
impl Eq for ExampleEnvironment
Source§impl PartialEq for ExampleEnvironment
impl PartialEq for ExampleEnvironment
Source§impl Serialize for ExampleEnvironment
impl Serialize for ExampleEnvironment
impl StructuralPartialEq for ExampleEnvironment
Auto Trait Implementations§
impl Freeze for ExampleEnvironment
impl RefUnwindSafe for ExampleEnvironment
impl Send for ExampleEnvironment
impl Sync for ExampleEnvironment
impl Unpin for ExampleEnvironment
impl UnsafeUnpin for ExampleEnvironment
impl UnwindSafe for ExampleEnvironment
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