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 strMethod for initializing the connection.
authenticate: &'static strMethod for authenticating with the agent.
session_new: &'static strMethod for creating a new session.
session_load: &'static strMethod for loading an existing session.
session_set_mode: &'static strMethod for setting the mode for a session.
session_prompt: &'static strMethod for sending a prompt to the agent.
session_cancel: &'static strNotification 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
Source§impl PartialEq for AgentMethodNames
impl PartialEq for AgentMethodNames
Source§impl Serialize for AgentMethodNames
impl Serialize for AgentMethodNames
impl Eq for AgentMethodNames
impl StructuralPartialEq for AgentMethodNames
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