pub struct Persona {
pub category: PersonaCategory,
pub description: String,
pub traits: PersonaTraits,
}Fields§
§category: PersonaCategory§description: String§traits: PersonaTraitsTrait Implementations§
Source§impl<'de> Deserialize<'de> for Persona
impl<'de> Deserialize<'de> for Persona
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
impl StructuralPartialEq for Persona
Auto Trait Implementations§
impl Freeze for Persona
impl RefUnwindSafe for Persona
impl Send for Persona
impl Sync for Persona
impl Unpin for Persona
impl UnsafeUnpin for Persona
impl UnwindSafe for Persona
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