pub struct ServerInfoDef {
pub name: String,
pub version: String,
pub tools: bool,
pub resources: bool,
pub prompts: bool,
pub logging: bool,
}Expand description
Server info
Fields§
§name: String§version: String§tools: bool§resources: bool§prompts: bool§logging: boolTrait Implementations§
Source§impl Clone for ServerInfoDef
impl Clone for ServerInfoDef
Source§fn clone(&self) -> ServerInfoDef
fn clone(&self) -> ServerInfoDef
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 ServerInfoDef
impl Debug for ServerInfoDef
Auto Trait Implementations§
impl Freeze for ServerInfoDef
impl RefUnwindSafe for ServerInfoDef
impl Send for ServerInfoDef
impl Sync for ServerInfoDef
impl Unpin for ServerInfoDef
impl UnwindSafe for ServerInfoDef
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