pub struct Application {
pub name: Option<String>,
pub policy: String,
}
Expand description
The application that the entity belongs to.
Fields§
§name: Option<String>
The name of the application.
policy: String
The policy used define the application’s access to secrets. This meant to be a JSON string that can be deserialized by a secrets backend implementation.
Trait Implementations§
source§impl Default for Application
impl Default for Application
source§fn default() -> Application
fn default() -> Application
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Application
impl<'de> Deserialize<'de> for Application
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
Auto Trait Implementations§
impl Freeze for Application
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
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