pub struct PersonaSnapshot {
pub identity: String,
pub salient_traits: Vec<String>,
pub style_tone: Option<String>,
}Expand description
Identity + behavior of the agent the CLI should impersonate.
Materialized into the vendor’s “system instruction” surface:
the top of CLAUDE.md, the system-instruction file for Antigravity,
the top of AGENTS.md for Codex.
Fields§
§identity: String§salient_traits: Vec<String>§style_tone: Option<String>Trait Implementations§
Source§impl Clone for PersonaSnapshot
impl Clone for PersonaSnapshot
Source§fn clone(&self) -> PersonaSnapshot
fn clone(&self) -> PersonaSnapshot
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 PersonaSnapshot
impl Debug for PersonaSnapshot
Source§impl Default for PersonaSnapshot
impl Default for PersonaSnapshot
Source§fn default() -> PersonaSnapshot
fn default() -> PersonaSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersonaSnapshot
impl<'de> Deserialize<'de> for PersonaSnapshot
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 PersonaSnapshot
impl RefUnwindSafe for PersonaSnapshot
impl Send for PersonaSnapshot
impl Sync for PersonaSnapshot
impl Unpin for PersonaSnapshot
impl UnsafeUnpin for PersonaSnapshot
impl UnwindSafe for PersonaSnapshot
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