pub struct AgentMethodNames {
pub initialize: &'static str,
pub authenticate: &'static str,
pub session_new: &'static str,
pub session_load: &'static str,
pub session_set_mode: &'static str,
pub session_prompt: &'static str,
pub session_cancel: &'static str,
}
Expand description
Names of all methods that agents handle.
Provides a centralized definition of method names used in the protocol.
Fields§
§initialize: &'static str
Method for initializing the connection.
authenticate: &'static str
Method for authenticating with the agent.
session_new: &'static str
Method for creating a new session.
session_load: &'static str
Method for loading an existing session.
session_set_mode: &'static str
Method for setting the mode for a session.
session_prompt: &'static str
Method for sending a prompt to the agent.
session_cancel: &'static str
Notification for cancelling operations.
Trait Implementations§
Source§impl Clone for AgentMethodNames
impl Clone for AgentMethodNames
Source§fn clone(&self) -> AgentMethodNames
fn clone(&self) -> AgentMethodNames
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 AgentMethodNames
impl Debug for AgentMethodNames
Source§impl Deserialize<'static> for AgentMethodNames
impl Deserialize<'static> for AgentMethodNames
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentMethodNames
impl RefUnwindSafe for AgentMethodNames
impl Send for AgentMethodNames
impl Sync for AgentMethodNames
impl Unpin for AgentMethodNames
impl UnwindSafe for AgentMethodNames
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