pub struct PersonaTraits {
pub tone: String,
pub risk: String,
pub verbosity: String,
}Fields§
§tone: String§risk: String§verbosity: StringTrait Implementations§
Source§impl Clone for PersonaTraits
impl Clone for PersonaTraits
Source§fn clone(&self) -> PersonaTraits
fn clone(&self) -> PersonaTraits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PersonaTraits
impl Debug for PersonaTraits
Source§impl<'de> Deserialize<'de> for PersonaTraits
impl<'de> Deserialize<'de> for PersonaTraits
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
Source§impl PartialEq for PersonaTraits
impl PartialEq for PersonaTraits
Source§fn eq(&self, other: &PersonaTraits) -> bool
fn eq(&self, other: &PersonaTraits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PersonaTraits
impl Serialize for PersonaTraits
impl StructuralPartialEq for PersonaTraits
Auto Trait Implementations§
impl Freeze for PersonaTraits
impl RefUnwindSafe for PersonaTraits
impl Send for PersonaTraits
impl Sync for PersonaTraits
impl Unpin for PersonaTraits
impl UnsafeUnpin for PersonaTraits
impl UnwindSafe for PersonaTraits
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