pub struct UpdateSecretRequest {
pub secret_name: String,
pub project_id: String,
pub environment: String,
pub new_secret_name: Option<String>,
pub secret_value: Option<String>,
pub path: Option<String>,
pub type: Option<String>,
pub secret_comment: Option<String>,
pub skip_multiline_encoding: Option<bool>,
}Expand description
Represents the parameters for a update secret request.
Use the UpdateSecretRequest::builder() to construct this struct.
Fields§
§secret_name: String§project_id: String§environment: String§new_secret_name: Option<String>§secret_value: Option<String>§path: Option<String>§type: Option<String>§secret_comment: Option<String>§skip_multiline_encoding: Option<bool>Implementations§
Source§impl UpdateSecretRequest
impl UpdateSecretRequest
Sourcepub fn builder<SN, PID, E>(
secret_name: SN,
project_id: PID,
environment: E,
) -> UpdateSecretBuilder<SN, PID, E>
pub fn builder<SN, PID, E>( secret_name: SN, project_id: PID, environment: E, ) -> UpdateSecretBuilder<SN, PID, E>
Creates a new builder for a update secret request.
§Arguments
secret_name- The name of the secret to update.project_id- The ID of the project to insert the secret into.environment- The environment slug (e.g., “dev”, “prod”).
Trait Implementations§
Source§impl Clone for UpdateSecretRequest
impl Clone for UpdateSecretRequest
Source§fn clone(&self) -> UpdateSecretRequest
fn clone(&self) -> UpdateSecretRequest
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 moreAuto Trait Implementations§
impl Freeze for UpdateSecretRequest
impl RefUnwindSafe for UpdateSecretRequest
impl Send for UpdateSecretRequest
impl Sync for UpdateSecretRequest
impl Unpin for UpdateSecretRequest
impl UnsafeUnpin for UpdateSecretRequest
impl UnwindSafe for UpdateSecretRequest
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