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: String
Endpoint protocol (p2p, http, etc.)
address: String
Endpoint address
port: Option<u16>
Endpoint port
tls: bool
TLS enabled
auth_required: bool
Authentication 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§const fn clone_from(&mut self, source: &Self)
const 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