pub struct McpEndpoint {
pub name: String,
pub url: String,
pub run_id: RunId,
pub agent_id: AgentId,
pub auth_token: Option<String>,
}Expand description
MCP data-plane endpoint injected into an agent for structured reporting.
Fields§
§name: StringServer name injected into the agent, e.g. “luft”.
url: String§run_id: RunId§agent_id: AgentId§auth_token: Option<String>Trait Implementations§
Source§impl Clone for McpEndpoint
impl Clone for McpEndpoint
Source§fn clone(&self) -> McpEndpoint
fn clone(&self) -> McpEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 McpEndpoint
impl Debug for McpEndpoint
Source§impl<'de> Deserialize<'de> for McpEndpoint
impl<'de> Deserialize<'de> for McpEndpoint
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 McpEndpoint
impl RefUnwindSafe for McpEndpoint
impl Send for McpEndpoint
impl Sync for McpEndpoint
impl Unpin for McpEndpoint
impl UnsafeUnpin for McpEndpoint
impl UnwindSafe for McpEndpoint
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