pub struct LocalMcpServer {
pub id: Uuid,
pub name: String,
pub title: Option<String>,
pub description: Option<String>,
pub source: LocalMcpServerSource,
pub status: LocalMcpServerStatus,
pub status_detail: Option<String>,
pub tools: Vec<LocalMcpTool>,
pub resources: Vec<LocalMcpResource>,
pub resource_templates: Vec<LocalMcpResourceTemplate>,
}Fields§
§id: Uuid§name: String§title: Option<String>§description: Option<String>§source: LocalMcpServerSource§status: LocalMcpServerStatus§status_detail: Option<String>§tools: Vec<LocalMcpTool>§resources: Vec<LocalMcpResource>§resource_templates: Vec<LocalMcpResourceTemplate>Trait Implementations§
Source§impl Clone for LocalMcpServer
impl Clone for LocalMcpServer
Source§fn clone(&self) -> LocalMcpServer
fn clone(&self) -> LocalMcpServer
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 LocalMcpServer
impl Debug for LocalMcpServer
Source§impl<'de> Deserialize<'de> for LocalMcpServer
impl<'de> Deserialize<'de> for LocalMcpServer
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
Source§impl PartialEq for LocalMcpServer
impl PartialEq for LocalMcpServer
Source§impl Serialize for LocalMcpServer
impl Serialize for LocalMcpServer
impl StructuralPartialEq for LocalMcpServer
Auto Trait Implementations§
impl Freeze for LocalMcpServer
impl RefUnwindSafe for LocalMcpServer
impl Send for LocalMcpServer
impl Sync for LocalMcpServer
impl Unpin for LocalMcpServer
impl UnsafeUnpin for LocalMcpServer
impl UnwindSafe for LocalMcpServer
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