ReadonlyContext

Trait ReadonlyContext 

Source
pub trait ReadonlyContext: Send + Sync {
    // Required methods
    fn invocation_id(&self) -> &str;
    fn agent_name(&self) -> &str;
    fn user_id(&self) -> &str;
    fn app_name(&self) -> &str;
    fn session_id(&self) -> &str;
    fn branch(&self) -> &str;
    fn user_content(&self) -> &Content;
}

Required Methods§

Source

fn invocation_id(&self) -> &str

Source

fn agent_name(&self) -> &str

Source

fn user_id(&self) -> &str

Source

fn app_name(&self) -> &str

Source

fn session_id(&self) -> &str

Source

fn branch(&self) -> &str

Source

fn user_content(&self) -> &Content

Implementors§