pub struct StoredManagedConnection {
pub provider_id: ProviderId,
pub setup_values: BTreeMap<SetupFieldId, SafeSetupValue>,
pub setup_fingerprint: Sha256Digest,
pub auth_method: AuthMethodId,
pub connection_generation: ProviderConnectionGeneration,
pub policy: StoredProviderPolicyProjection,
pub connected_at: Timestamp,
/* private fields */
}Expand description
One active managed provider connection. Secret values are accessible only by field lookup.
Fields§
§provider_id: ProviderId§setup_values: BTreeMap<SetupFieldId, SafeSetupValue>§setup_fingerprint: Sha256Digest§auth_method: AuthMethodId§connection_generation: ProviderConnectionGeneration§policy: StoredProviderPolicyProjection§connected_at: TimestampImplementations§
Source§impl StoredManagedConnection
impl StoredManagedConnection
pub fn credential(&self, field: &AuthFieldName) -> Option<&str>
pub fn credential_fields(&self) -> impl ExactSizeIterator<Item = &AuthFieldName>
pub fn descriptor(&self) -> DurableConnectionDescriptor
Trait Implementations§
Source§impl Clone for StoredManagedConnection
impl Clone for StoredManagedConnection
Source§fn clone(&self) -> StoredManagedConnection
fn clone(&self) -> StoredManagedConnection
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 StoredManagedConnection
impl Debug for StoredManagedConnection
impl Eq for StoredManagedConnection
Source§impl PartialEq for StoredManagedConnection
impl PartialEq for StoredManagedConnection
Source§fn eq(&self, other: &StoredManagedConnection) -> bool
fn eq(&self, other: &StoredManagedConnection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoredManagedConnection
Auto Trait Implementations§
impl Freeze for StoredManagedConnection
impl RefUnwindSafe for StoredManagedConnection
impl Send for StoredManagedConnection
impl Sync for StoredManagedConnection
impl Unpin for StoredManagedConnection
impl UnsafeUnpin for StoredManagedConnection
impl UnwindSafe for StoredManagedConnection
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