pub struct ApplicationSecret {
pub injections: Vec<HashMap<String, String>>,
pub name: String,
}Expand description
a secret to be injected as an environment variable in the application
JSON schema
{
"description": "a secret to be injected as an environment variable in the application",
"examples": [
{
"injections": [
{
"key": "injections"
},
{
"key": "injections"
}
],
"name": "name"
}
],
"type": "object",
"required": [
"injections",
"name"
],
"properties": {
"injections": {
"description": "a list of environment variable names. The secret's value may be injected multiple times as different environment variables, so multiple environment variable names for the same secret can be provided",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"name": {
"description": "the secret's name",
"type": "string"
}
}
}Fields§
§injections: Vec<HashMap<String, String>>a list of environment variable names. The secret’s value may be injected multiple times as different environment variables, so multiple environment variable names for the same secret can be provided
name: Stringthe secret’s name
Trait Implementations§
Source§impl Clone for ApplicationSecret
impl Clone for ApplicationSecret
Source§fn clone(&self) -> ApplicationSecret
fn clone(&self) -> ApplicationSecret
Returns a copy of the value. Read more
1.0.0 · 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 ApplicationSecret
impl Debug for ApplicationSecret
Source§impl<'de> Deserialize<'de> for ApplicationSecret
impl<'de> Deserialize<'de> for ApplicationSecret
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 Display for ApplicationSecret
impl Display for ApplicationSecret
Source§impl From<&ApplicationSecret> for ApplicationSecret
impl From<&ApplicationSecret> for ApplicationSecret
Source§fn from(value: &ApplicationSecret) -> Self
fn from(value: &ApplicationSecret) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApplicationSecret
impl PartialEq for ApplicationSecret
Source§impl Serialize for ApplicationSecret
impl Serialize for ApplicationSecret
impl StructuralPartialEq for ApplicationSecret
Auto Trait Implementations§
impl Freeze for ApplicationSecret
impl RefUnwindSafe for ApplicationSecret
impl Send for ApplicationSecret
impl Sync for ApplicationSecret
impl Unpin for ApplicationSecret
impl UnwindSafe for ApplicationSecret
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more