pub struct AgentSessionCreateInput {
pub id: Option<String>,
pub issue_id: Option<String>,
pub app_user_id: Option<String>,
pub context: Option<Value>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
issue_id: Option<String>The issue that this session will be associated with. Can be a UUID or issue identifier (e.g., ‘LIN-123’).
app_user_id: Option<String>The app user (agent) to create a session for.
context: Option<Value>Internal Serialized JSON representing the page contexts this session is related to. Used for direct chat sessions to provide context about the current page (e.g., Issue, Project).
Trait Implementations§
Source§impl Clone for AgentSessionCreateInput
impl Clone for AgentSessionCreateInput
Source§fn clone(&self) -> AgentSessionCreateInput
fn clone(&self) -> AgentSessionCreateInput
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentSessionCreateInput
impl Debug for AgentSessionCreateInput
Source§impl Default for AgentSessionCreateInput
impl Default for AgentSessionCreateInput
Source§fn default() -> AgentSessionCreateInput
fn default() -> AgentSessionCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentSessionCreateInput
impl<'de> Deserialize<'de> for AgentSessionCreateInput
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 AgentSessionCreateInput
impl RefUnwindSafe for AgentSessionCreateInput
impl Send for AgentSessionCreateInput
impl Sync for AgentSessionCreateInput
impl Unpin for AgentSessionCreateInput
impl UnwindSafe for AgentSessionCreateInput
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