pub struct EditUpdates {
pub name: Option<String>,
pub description: Option<String>,
pub refines: Option<Vec<String>>,
pub derives_from: Option<Vec<String>>,
pub satisfies: Option<Vec<String>>,
pub specification: Option<String>,
pub platform: Option<String>,
}Expand description
Fields to update via CLI flags (non-interactive mode).
Used for non-interactive editing where the user specifies which fields to update via command-line flags (FR-057, FR-058).
Fields§
§name: Option<String>New name for the item.
description: Option<String>New description for the item.
refines: Option<Vec<String>>New refines links (for UseCase, Scenario).
derives_from: Option<Vec<String>>New derives_from links (for requirements).
satisfies: Option<Vec<String>>New satisfies links (for architectures, designs).
specification: Option<String>New specification (for requirement types).
platform: Option<String>New platform (for SystemArchitecture).
Implementations§
Source§impl EditUpdates
impl EditUpdates
Sourcepub fn has_updates(&self) -> bool
pub fn has_updates(&self) -> bool
Returns true if any field is set (triggers non-interactive mode).
Trait Implementations§
Source§impl Clone for EditUpdates
impl Clone for EditUpdates
Source§fn clone(&self) -> EditUpdates
fn clone(&self) -> EditUpdates
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 EditUpdates
impl Debug for EditUpdates
Source§impl Default for EditUpdates
impl Default for EditUpdates
Source§fn default() -> EditUpdates
fn default() -> EditUpdates
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EditUpdates
impl RefUnwindSafe for EditUpdates
impl Send for EditUpdates
impl Sync for EditUpdates
impl Unpin for EditUpdates
impl UnwindSafe for EditUpdates
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