#[non_exhaustive]pub struct CopilotOptions {}Expand description
Copilot’s request options: none.
Implementations§
Trait Implementations§
Source§impl Clone for CopilotOptions
impl Clone for CopilotOptions
Source§impl Debug for CopilotOptions
impl Debug for CopilotOptions
Source§impl Default for CopilotOptions
impl Default for CopilotOptions
Source§impl ExtensionOptions for CopilotOptions
impl ExtensionOptions for CopilotOptions
Source§type Ext = CopilotExt
type Ext = CopilotExt
The provider these options are for: the entry
ProviderOptions::set stores them under. A type that serves as the
Options of several providers names one of them here, and is stored
for the others with ProviderOptions::with.Source§fn unsupported(
&self,
target: &dyn ReplayTarget,
request: &CompletionRequest,
) -> Vec<(&'static str, String)>
fn unsupported( &self, target: &dyn ReplayTarget, request: &CompletionRequest, ) -> Vec<(&'static str, String)>
The fields
target cannot send for request, each a top-level body
key with the reason. Each one set is reported through the request’s
OnUnsupported policy under the
name "<provider>.<section>.<field>". It must not call
options::param, which reads
it. By default every field is sent.Source§impl PartialEq for CopilotOptions
impl PartialEq for CopilotOptions
Source§impl Serialize for CopilotOptions
impl Serialize for CopilotOptions
impl StructuralPartialEq for CopilotOptions
Auto Trait Implementations§
impl Freeze for CopilotOptions
impl RefUnwindSafe for CopilotOptions
impl Send for CopilotOptions
impl Sync for CopilotOptions
impl Unpin for CopilotOptions
impl UnsafeUnpin for CopilotOptions
impl UnwindSafe for CopilotOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreSource§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.