pub struct HumanContext {
pub who: Option<String>,
pub what: Option<String>,
pub why_field: Option<String>,
pub how: Option<String>,
pub where_field: Option<String>,
pub when: Option<String>,
}Expand description
Human context - the 6 W’s
Fields§
§who: Option<String>§what: Option<String>§why_field: Option<String>§how: Option<String>§where_field: Option<String>§when: Option<String>Trait Implementations§
Source§impl Clone for HumanContext
impl Clone for HumanContext
Source§fn clone(&self) -> HumanContext
fn clone(&self) -> HumanContext
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 HumanContext
impl Debug for HumanContext
Source§impl<'de> Deserialize<'de> for HumanContext
impl<'de> Deserialize<'de> for HumanContext
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 HumanContext
impl RefUnwindSafe for HumanContext
impl Send for HumanContext
impl Sync for HumanContext
impl Unpin for HumanContext
impl UnsafeUnpin for HumanContext
impl UnwindSafe for HumanContext
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