pub struct AgentActivityCreateInput {
pub id: Option<String>,
pub agent_session_id: Option<String>,
pub signal: Option<AgentActivitySignal>,
pub signal_metadata: Option<Value>,
pub contextual_metadata: Option<Value>,
pub content: Option<Value>,
pub ephemeral: Option<bool>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
agent_session_id: Option<String>The agent session this activity belongs to.
signal: Option<AgentActivitySignal>An optional modifier that provides additional instructions on how the activity should be interpreted.
signal_metadata: Option<Value>Metadata about this agent activity’s signal.
contextual_metadata: Option<Value>Internal Metadata about user-provided contextual information for this agent activity.
content: Option<Value>The content payload of the agent activity. This object is not strictly typed. See https://linear.app/developers/agent-interaction#activity-content-payload for typing details.
ephemeral: Option<bool>Whether the activity is ephemeral, and should disappear after the next activity. Defaults to false.
Trait Implementations§
Source§impl Clone for AgentActivityCreateInput
impl Clone for AgentActivityCreateInput
Source§fn clone(&self) -> AgentActivityCreateInput
fn clone(&self) -> AgentActivityCreateInput
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 AgentActivityCreateInput
impl Debug for AgentActivityCreateInput
Source§impl Default for AgentActivityCreateInput
impl Default for AgentActivityCreateInput
Source§fn default() -> AgentActivityCreateInput
fn default() -> AgentActivityCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentActivityCreateInput
impl<'de> Deserialize<'de> for AgentActivityCreateInput
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 AgentActivityCreateInput
impl RefUnwindSafe for AgentActivityCreateInput
impl Send for AgentActivityCreateInput
impl Sync for AgentActivityCreateInput
impl Unpin for AgentActivityCreateInput
impl UnwindSafe for AgentActivityCreateInput
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