pub struct ComponentProposal {
pub name: String,
pub description: String,
pub layer: String,
pub depends_on: Vec<String>,
}Expand description
A proposed component for a feature.
Fields§
§name: String§description: String§layer: StringLayer: interface, application, domain, infrastructure
depends_on: Vec<String>IDs of components this one depends on
Trait Implementations§
Source§impl Clone for ComponentProposal
impl Clone for ComponentProposal
Source§fn clone(&self) -> ComponentProposal
fn clone(&self) -> ComponentProposal
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 ComponentProposal
impl Debug for ComponentProposal
Source§impl<'de> Deserialize<'de> for ComponentProposal
impl<'de> Deserialize<'de> for ComponentProposal
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 ComponentProposal
impl RefUnwindSafe for ComponentProposal
impl Send for ComponentProposal
impl Sync for ComponentProposal
impl Unpin for ComponentProposal
impl UnsafeUnpin for ComponentProposal
impl UnwindSafe for ComponentProposal
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