pub struct EditedValues {
pub name: String,
pub description: Option<String>,
pub specification: Option<String>,
pub platform: Option<String>,
pub traceability: TraceabilityLinks,
}Expand description
Values to apply during editing.
Fields§
§name: StringThe name.
description: Option<String>Optional description.
specification: Option<String>Optional specification.
platform: Option<String>Optional platform.
traceability: TraceabilityLinksTraceability links.
Implementations§
Source§impl EditedValues
impl EditedValues
Sourcepub fn with_description(self, description: Option<String>) -> Self
pub fn with_description(self, description: Option<String>) -> Self
Sets the description.
Sourcepub fn with_specification(self, specification: Option<String>) -> Self
pub fn with_specification(self, specification: Option<String>) -> Self
Sets the specification.
Sourcepub fn with_platform(self, platform: Option<String>) -> Self
pub fn with_platform(self, platform: Option<String>) -> Self
Sets the platform.
Sourcepub fn with_traceability(self, traceability: TraceabilityLinks) -> Self
pub fn with_traceability(self, traceability: TraceabilityLinks) -> Self
Sets the traceability links.
Trait Implementations§
Source§impl Clone for EditedValues
impl Clone for EditedValues
Source§fn clone(&self) -> EditedValues
fn clone(&self) -> EditedValues
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 moreAuto Trait Implementations§
impl Freeze for EditedValues
impl RefUnwindSafe for EditedValues
impl Send for EditedValues
impl Sync for EditedValues
impl Unpin for EditedValues
impl UnwindSafe for EditedValues
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