pub struct ServerInfo<'a> {
pub name: &'a str,
pub version: &'a str,
}Expand description
Who answers: MCP’s serverInfo.
Fields§
§name: &'a str§version: &'a strTrait Implementations§
Source§impl<'a> Clone for ServerInfo<'a>
impl<'a> Clone for ServerInfo<'a>
impl<'a> Copy for ServerInfo<'a>
Source§impl<'a> Debug for ServerInfo<'a>
impl<'a> Debug for ServerInfo<'a>
impl<'a> Eq for ServerInfo<'a>
Source§impl<'a> PartialEq for ServerInfo<'a>
impl<'a> PartialEq for ServerInfo<'a>
impl<'a> StructuralPartialEq for ServerInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for ServerInfo<'a>
impl<'a> RefUnwindSafe for ServerInfo<'a>
impl<'a> Send for ServerInfo<'a>
impl<'a> Sync for ServerInfo<'a>
impl<'a> Unpin for ServerInfo<'a>
impl<'a> UnsafeUnpin for ServerInfo<'a>
impl<'a> UnwindSafe for ServerInfo<'a>
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