Struct fastly::SecretStore

source ·
pub struct SecretStore { /* private fields */ }
Expand description

A Compute@Edge Secret Store.

A secret store name has a maximum length of 255 bytes and must contain only letters, numbers, dashes (-), underscores (_), and periods (.).

Implementations§

Open the Secret Store with the given name.

Lookup a Secret by name in this secret store.

Returns Some(secret) if the secret is found, and None if the secret was not found.

See try_get() for a fallible equivalent of this method.

Try to lookup a Secret by name in this secret store.

If successful, this method returns Ok(Some(secret)) if the secret is found, or Ok(None) if the secret was not found.

Return true if the secret store contains a secret with the given name.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.