pub struct ProviderSettings {
pub schema_version: SchemaVersion,
pub enabled: bool,
pub description: Option<String>,
pub config: Value,
}Expand description
One owned provider’s settings, deploy/tag-providers/<P>.json. Strict:
unknown keys are refused, schema_version is 1 and config is an object
(the provider’s config as the gateway’s tag provider resource holds it).
Fields§
§schema_version: SchemaVersionAlways 1; any other value is refused by SchemaVersion.
enabled: boolWhether the provider is enabled.
description: Option<String>The provider’s description; absent means none.
config: ValueThe provider’s configuration object.
Trait Implementations§
Source§impl Clone for ProviderSettings
impl Clone for ProviderSettings
Source§impl Debug for ProviderSettings
impl Debug for ProviderSettings
Source§impl<'de> Deserialize<'de> for ProviderSettings
impl<'de> Deserialize<'de> for ProviderSettings
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 ProviderSettings
impl PartialEq for ProviderSettings
impl StructuralPartialEq for ProviderSettings
Auto Trait Implementations§
impl Forget for ProviderSettings
impl Freeze for ProviderSettings
impl Move for ProviderSettings
impl RefUnwindSafe for ProviderSettings
impl Send for ProviderSettings
impl Sync for ProviderSettings
impl Unpin for ProviderSettings
impl UnsafeUnpin for ProviderSettings
impl UnwindSafe for ProviderSettings
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