pub struct UpdateSecretsRequest {
pub project: String,
pub config: String,
pub secrets: Option<SecretsUpdateMap>,
pub change_requests: Option<Vec<SecretChangeRequest>>,
}Expand description
UpdateSecretsRequest
Fields§
§project: StringUnique identifier for the project object.
config: StringName of the config object.
secrets: Option<SecretsUpdateMap>§change_requests: Option<Vec<SecretChangeRequest>>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.
Implementations§
Source§impl UpdateSecretsRequest
impl UpdateSecretsRequest
pub fn new(project: String, config: String) -> UpdateSecretsRequest
Trait Implementations§
Source§impl Clone for UpdateSecretsRequest
impl Clone for UpdateSecretsRequest
Source§fn clone(&self) -> UpdateSecretsRequest
fn clone(&self) -> UpdateSecretsRequest
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 UpdateSecretsRequest
impl Debug for UpdateSecretsRequest
Source§impl Default for UpdateSecretsRequest
impl Default for UpdateSecretsRequest
Source§fn default() -> UpdateSecretsRequest
fn default() -> UpdateSecretsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSecretsRequest
impl<'de> Deserialize<'de> for UpdateSecretsRequest
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 UpdateSecretsRequest
impl PartialEq for UpdateSecretsRequest
Source§impl Serialize for UpdateSecretsRequest
impl Serialize for UpdateSecretsRequest
impl StructuralPartialEq for UpdateSecretsRequest
Auto Trait Implementations§
impl Freeze for UpdateSecretsRequest
impl RefUnwindSafe for UpdateSecretsRequest
impl Send for UpdateSecretsRequest
impl Sync for UpdateSecretsRequest
impl Unpin for UpdateSecretsRequest
impl UnsafeUnpin for UpdateSecretsRequest
impl UnwindSafe for UpdateSecretsRequest
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