Struct shuttle_secrets::Secrets
source · pub struct Secrets;
👎Deprecated since 0.42.0: This plugin has been moved to shuttle_runtime::Secrets, see https://docs.shuttle.rs/resources/shuttle-secrets
Expand description
Secrets plugin that provides service secrets
Trait Implementations§
source§impl ResourceInputBuilder for Secrets
impl ResourceInputBuilder for Secrets
§type Input = ProvisionResourceRequest
type Input = ProvisionResourceRequest
The input for requesting this resource. Read more
§type Output = ShuttleResourceOutput<SecretStore>
type Output = ShuttleResourceOutput<SecretStore>
The output from provisioning this resource. Read more
source§fn build<'life0, 'async_trait>(
self,
_factory: &'life0 ResourceFactory
) -> Pin<Box<dyn Future<Output = Result<Self::Input, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn build<'life0, 'async_trait>(
self,
_factory: &'life0 ResourceFactory
) -> Pin<Box<dyn Future<Output = Result<Self::Input, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Construct this resource config. The
ResourceFactory
provides access to secrets and metadata.Auto Trait Implementations§
impl Freeze for Secrets
impl RefUnwindSafe for Secrets
impl Send for Secrets
impl Sync for Secrets
impl Unpin for Secrets
impl UnwindSafe for Secrets
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