pub struct UpstreamConfigView {Show 13 fields
pub name: String,
pub enabled: bool,
pub url: Option<String>,
pub bearer_token_env: Option<String>,
pub command: Option<String>,
pub args: Vec<String>,
pub env_keys: Vec<String>,
pub oauth_enabled: bool,
pub proxy_resources: bool,
pub proxy_prompts: bool,
pub expose_tools: Option<Vec<String>>,
pub expose_resources: Option<Vec<String>>,
pub expose_prompts: Option<Vec<String>>,
}Fields§
§name: String§enabled: bool§url: Option<String>§bearer_token_env: Option<String>§command: Option<String>§args: Vec<String>§env_keys: Vec<String>§oauth_enabled: bool§proxy_resources: bool§proxy_prompts: bool§expose_tools: Option<Vec<String>>§expose_resources: Option<Vec<String>>§expose_prompts: Option<Vec<String>>Trait Implementations§
Source§impl Clone for UpstreamConfigView
impl Clone for UpstreamConfigView
Source§fn clone(&self) -> UpstreamConfigView
fn clone(&self) -> UpstreamConfigView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpstreamConfigView
impl Debug for UpstreamConfigView
Source§impl<'de> Deserialize<'de> for UpstreamConfigView
impl<'de> Deserialize<'de> for UpstreamConfigView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpstreamConfigView
impl PartialEq for UpstreamConfigView
Source§fn eq(&self, other: &UpstreamConfigView) -> bool
fn eq(&self, other: &UpstreamConfigView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpstreamConfigView
impl Serialize for UpstreamConfigView
impl Eq for UpstreamConfigView
impl StructuralPartialEq for UpstreamConfigView
Auto Trait Implementations§
impl Freeze for UpstreamConfigView
impl RefUnwindSafe for UpstreamConfigView
impl Send for UpstreamConfigView
impl Sync for UpstreamConfigView
impl Unpin for UpstreamConfigView
impl UnsafeUnpin for UpstreamConfigView
impl UnwindSafe for UpstreamConfigView
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.