pub struct ProjectMetadata {
pub language: Option<String>,
pub framework: Option<String>,
pub dependencies: Vec<String>,
pub version: Option<String>,
pub build_system: Option<String>,
pub test_framework: Option<String>,
pub plugins: Vec<String>,
}
Fields§
§language: Option<String>
§framework: Option<String>
§dependencies: Vec<String>
§version: Option<String>
§build_system: Option<String>
§test_framework: Option<String>
§plugins: Vec<String>
Implementations§
Source§impl ProjectMetadata
impl ProjectMetadata
pub fn merge(&mut self, new: ProjectMetadata)
Trait Implementations§
Source§impl Clone for ProjectMetadata
impl Clone for ProjectMetadata
Source§fn clone(&self) -> ProjectMetadata
fn clone(&self) -> ProjectMetadata
Returns a duplicate 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 ProjectMetadata
impl Debug for ProjectMetadata
Source§impl Default for ProjectMetadata
impl Default for ProjectMetadata
Source§fn default() -> ProjectMetadata
fn default() -> ProjectMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectMetadata
impl RefUnwindSafe for ProjectMetadata
impl Send for ProjectMetadata
impl Sync for ProjectMetadata
impl Unpin for ProjectMetadata
impl UnwindSafe for ProjectMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more