pub struct PersonaDetails {
pub id: String,
pub name: Option<String>,
pub traits: HashMap<String, String>,
pub domain: Option<String>,
pub backstory: Option<String>,
pub relationships: HashMap<String, Vec<String>>,
pub lifecycle_state: Option<String>,
}Expand description
Persona details for debug context
Fields§
§id: StringPersona ID
name: Option<String>Persona name
traits: HashMap<String, String>Persona traits (key-value pairs)
domain: Option<String>Persona domain (e.g., “ecommerce”, “saas”)
backstory: Option<String>Persona backstory/narrative
relationships: HashMap<String, Vec<String>>Persona relationships to other entities
lifecycle_state: Option<String>Current lifecycle state (if applicable)
Trait Implementations§
Source§impl Clone for PersonaDetails
impl Clone for PersonaDetails
Source§fn clone(&self) -> PersonaDetails
fn clone(&self) -> PersonaDetails
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 moreAuto Trait Implementations§
impl Freeze for PersonaDetails
impl RefUnwindSafe for PersonaDetails
impl Send for PersonaDetails
impl Sync for PersonaDetails
impl Unpin for PersonaDetails
impl UnsafeUnpin for PersonaDetails
impl UnwindSafe for PersonaDetails
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