pub struct ProviderConnectParams {
pub provider_id: ProviderId,
pub expected_catalog_revision: CatalogRevision,
pub setup_values: BTreeMap<SetupFieldId, SafeSetupValue>,
pub auth_method: AuthMethodId,
pub auth_values: ProviderCredentialValues,
pub client_connect_id: ClientConnectId,
}Fields§
§provider_id: ProviderId§expected_catalog_revision: CatalogRevision§setup_values: BTreeMap<SetupFieldId, SafeSetupValue>§auth_method: AuthMethodId§auth_values: ProviderCredentialValues§client_connect_id: ClientConnectIdImplementations§
Source§impl ProviderConnectParams
impl ProviderConnectParams
pub fn validate(&self) -> Result<(), ProviderSchemaError>
Trait Implementations§
Source§impl Clone for ProviderConnectParams
impl Clone for ProviderConnectParams
Source§fn clone(&self) -> ProviderConnectParams
fn clone(&self) -> ProviderConnectParams
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 ProviderConnectParams
impl Debug for ProviderConnectParams
Source§impl<'de> Deserialize<'de> for ProviderConnectParams
impl<'de> Deserialize<'de> for ProviderConnectParams
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderConnectParams
Source§impl PartialEq for ProviderConnectParams
impl PartialEq for ProviderConnectParams
Source§fn eq(&self, other: &ProviderConnectParams) -> bool
fn eq(&self, other: &ProviderConnectParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderConnectParams
Auto Trait Implementations§
impl Freeze for ProviderConnectParams
impl RefUnwindSafe for ProviderConnectParams
impl Send for ProviderConnectParams
impl Sync for ProviderConnectParams
impl Unpin for ProviderConnectParams
impl UnsafeUnpin for ProviderConnectParams
impl UnwindSafe for ProviderConnectParams
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