pub enum CustomView {
Alias {
provider: Provider,
},
Endpoint {
api: EndpointApi,
url: EndpointUrl,
key: bool,
},
}Expand description
A custom provider as Settings and provider list show it: never its key.
Variants§
Trait Implementations§
Source§impl Clone for CustomView
impl Clone for CustomView
Source§impl Debug for CustomView
impl Debug for CustomView
impl Eq for CustomView
Source§impl From<&Custom> for CustomView
impl From<&Custom> for CustomView
Source§impl PartialEq for CustomView
impl PartialEq for CustomView
Source§impl Serialize for CustomView
impl Serialize for CustomView
impl StructuralPartialEq for CustomView
Auto Trait Implementations§
impl Forget for CustomView
impl Freeze for CustomView
impl Move for CustomView
impl RefUnwindSafe for CustomView
impl Send for CustomView
impl Sync for CustomView
impl Unpin for CustomView
impl UnsafeUnpin for CustomView
impl UnwindSafe for CustomView
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> 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.