pub struct ServerCapabilitiesBuilderState<const EXPERIMENTAL: bool = false, const LOGGING: bool = false, const PROMPTS: bool = false, const RESOURCES: bool = false, const TOOLS: bool = false>;
Trait Implementations§
Source§impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Clone for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Clone for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
Source§fn clone(
&self,
) -> ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
fn clone( &self, ) -> ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
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<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Debug for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Debug for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
Source§impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Default for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Default for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
Source§fn default() -> ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
fn default() -> ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
Returns the “default value” for a type. Read more
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Copy for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
Auto Trait Implementations§
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Freeze for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> RefUnwindSafe for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Send for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Sync for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> Unpin for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
impl<const EXPERIMENTAL: bool, const LOGGING: bool, const PROMPTS: bool, const RESOURCES: bool, const TOOLS: bool> UnwindSafe for ServerCapabilitiesBuilderState<EXPERIMENTAL, LOGGING, PROMPTS, RESOURCES, TOOLS>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more