#[non_exhaustive]pub struct PerplexityOptions {}Expand description
Perplexity’s request options: none.
Implementations§
Trait Implementations§
Source§impl Clone for PerplexityOptions
impl Clone for PerplexityOptions
Source§impl Debug for PerplexityOptions
impl Debug for PerplexityOptions
Source§impl Default for PerplexityOptions
impl Default for PerplexityOptions
Source§impl ExtensionOptions for PerplexityOptions
impl ExtensionOptions for PerplexityOptions
Source§type Ext = PerplexityExt
type Ext = PerplexityExt
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 PerplexityOptions
impl PartialEq for PerplexityOptions
Source§impl Serialize for PerplexityOptions
impl Serialize for PerplexityOptions
impl StructuralPartialEq for PerplexityOptions
Auto Trait Implementations§
impl Freeze for PerplexityOptions
impl RefUnwindSafe for PerplexityOptions
impl Send for PerplexityOptions
impl Sync for PerplexityOptions
impl Unpin for PerplexityOptions
impl UnsafeUnpin for PerplexityOptions
impl UnwindSafe for PerplexityOptions
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.