pub struct ProviderCatalog {
pub key: String,
pub display_name: String,
pub kind: ProviderKind,
pub auth_mode: Option<AuthMode>,
pub credential_env_var: Option<String>,
pub base_url_env_var: Option<String>,
pub default_base_url: Option<String>,
pub requires_base_url: bool,
pub region_env_var: Option<String>,
pub presets: Vec<PresetCatalog>,
}Fields§
§key: String§display_name: String§kind: ProviderKind§auth_mode: Option<AuthMode>§credential_env_var: Option<String>§base_url_env_var: Option<String>§default_base_url: Option<String>§requires_base_url: bool§region_env_var: Option<String>§presets: Vec<PresetCatalog>Implementations§
Source§impl ProviderCatalog
impl ProviderCatalog
pub fn preset(&self, preset_id: &str) -> Option<&PresetCatalog>
Trait Implementations§
Source§impl Clone for ProviderCatalog
impl Clone for ProviderCatalog
Source§fn clone(&self) -> ProviderCatalog
fn clone(&self) -> ProviderCatalog
Returns a duplicate of the value. Read more
1.0.0 · 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 ProviderCatalog
impl Debug for ProviderCatalog
Source§impl<'de> Deserialize<'de> for ProviderCatalog
impl<'de> Deserialize<'de> for ProviderCatalog
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 ProviderCatalog
impl PartialEq for ProviderCatalog
impl StructuralPartialEq for ProviderCatalog
Auto Trait Implementations§
impl Freeze for ProviderCatalog
impl RefUnwindSafe for ProviderCatalog
impl Send for ProviderCatalog
impl Sync for ProviderCatalog
impl Unpin for ProviderCatalog
impl UnsafeUnpin for ProviderCatalog
impl UnwindSafe for ProviderCatalog
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