pub struct ConsideredOption {
pub name: String,
pub description: Option<String>,
pub pros: Vec<String>,
pub cons: Vec<String>,
}Expand description
A considered option with pros and cons.
Fields§
§name: StringName of the option.
description: Option<String>Description of the option.
pros: Vec<String>Arguments in favor of this option.
cons: Vec<String>Arguments against this option.
Trait Implementations§
Source§impl Clone for ConsideredOption
impl Clone for ConsideredOption
Source§fn clone(&self) -> ConsideredOption
fn clone(&self) -> ConsideredOption
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 ConsideredOption
impl Debug for ConsideredOption
Source§impl<'de> Deserialize<'de> for ConsideredOption
impl<'de> Deserialize<'de> for ConsideredOption
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 ConsideredOption
impl RefUnwindSafe for ConsideredOption
impl Send for ConsideredOption
impl Sync for ConsideredOption
impl Unpin for ConsideredOption
impl UnwindSafe for ConsideredOption
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