pub struct SecretsEnvelope {
pub provider_credentials: Vec<ScopedCredential>,
}Expand description
Credentials scoped to exactly what this child needs — never the whole config. Held in memory only; the worker must not persist it.
Fields§
§provider_credentials: Vec<ScopedCredential>Trait Implementations§
Source§impl Clone for SecretsEnvelope
impl Clone for SecretsEnvelope
Source§fn clone(&self) -> SecretsEnvelope
fn clone(&self) -> SecretsEnvelope
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 SecretsEnvelope
impl Debug for SecretsEnvelope
Source§impl Default for SecretsEnvelope
impl Default for SecretsEnvelope
Source§fn default() -> SecretsEnvelope
fn default() -> SecretsEnvelope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretsEnvelope
impl<'de> Deserialize<'de> for SecretsEnvelope
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 SecretsEnvelope
impl PartialEq for SecretsEnvelope
Source§fn eq(&self, other: &SecretsEnvelope) -> bool
fn eq(&self, other: &SecretsEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SecretsEnvelope
impl Serialize for SecretsEnvelope
impl StructuralPartialEq for SecretsEnvelope
Auto Trait Implementations§
impl Freeze for SecretsEnvelope
impl RefUnwindSafe for SecretsEnvelope
impl Send for SecretsEnvelope
impl Sync for SecretsEnvelope
impl Unpin for SecretsEnvelope
impl UnsafeUnpin for SecretsEnvelope
impl UnwindSafe for SecretsEnvelope
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