pub struct MCPEndpoint {
pub protocol: String,
pub address: String,
pub port: Option<u16>,
pub tls: bool,
pub auth_required: bool,
}Expand description
MCP endpoint information
Fields§
§protocol: StringEndpoint protocol (p2p, http, etc.)
address: StringEndpoint address
port: Option<u16>Endpoint port
tls: boolTLS enabled
auth_required: boolAuthentication required
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 · 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 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