pub enum Personality {
None,
Friendly,
Pragmatic,
Unknown(Value),
}Expand description
Deprecated: friendly and pragmatic no longer select a style.
Variants§
None
Friendly
Pragmatic
Unknown(Value)
A value this Codex version doesn’t know, or a known one whose body didn’t decode.
Trait Implementations§
Source§impl Clone for Personality
impl Clone for Personality
Source§impl Debug for Personality
impl Debug for Personality
Source§impl<'de> Deserialize<'de> for Personality
impl<'de> Deserialize<'de> for Personality
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 Personality
impl PartialEq for Personality
Source§impl Serialize for Personality
impl Serialize for Personality
impl StructuralPartialEq for Personality
Auto Trait Implementations§
impl Forget for Personality
impl Freeze for Personality
impl RefUnwindSafe for Personality
impl Send for Personality
impl Sync for Personality
impl Unpin for Personality
impl UnsafeUnpin for Personality
impl UnwindSafe for Personality
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