pub struct SecretsUpdateMap {
pub stripe: Option<String>,
pub algolia: Option<String>,
pub database: Option<String>,
}Expand description
SecretsUpdateMap : Either secrets or change_requests is required (can’t use both). Object of secrets you would like to save to the config. Try it with the sample secrets below.
Fields§
§stripe: Option<String>§algolia: Option<String>§database: Option<String>Implementations§
Source§impl SecretsUpdateMap
impl SecretsUpdateMap
pub fn new() -> SecretsUpdateMap
Trait Implementations§
Source§impl Clone for SecretsUpdateMap
impl Clone for SecretsUpdateMap
Source§fn clone(&self) -> SecretsUpdateMap
fn clone(&self) -> SecretsUpdateMap
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 SecretsUpdateMap
impl Debug for SecretsUpdateMap
Source§impl Default for SecretsUpdateMap
impl Default for SecretsUpdateMap
Source§fn default() -> SecretsUpdateMap
fn default() -> SecretsUpdateMap
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretsUpdateMap
impl<'de> Deserialize<'de> for SecretsUpdateMap
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 SecretsUpdateMap
impl PartialEq for SecretsUpdateMap
Source§impl Serialize for SecretsUpdateMap
impl Serialize for SecretsUpdateMap
impl StructuralPartialEq for SecretsUpdateMap
Auto Trait Implementations§
impl Freeze for SecretsUpdateMap
impl RefUnwindSafe for SecretsUpdateMap
impl Send for SecretsUpdateMap
impl Sync for SecretsUpdateMap
impl Unpin for SecretsUpdateMap
impl UnsafeUnpin for SecretsUpdateMap
impl UnwindSafe for SecretsUpdateMap
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