pub struct ActionsCreateOrUpdateEnvironmentSecretRequest {
pub encrypted_value: String,
pub key_id: String,
}
Fields§
§encrypted_value: String
Value for your secret, encrypted with LibSodium using the public key retrieved from the Get an environment public key endpoint.
key_id: String
ID of the key you used to encrypt the secret.
Implementations§
Source§impl ActionsCreateOrUpdateEnvironmentSecretRequest
impl ActionsCreateOrUpdateEnvironmentSecretRequest
pub fn new( encrypted_value: String, key_id: String, ) -> ActionsCreateOrUpdateEnvironmentSecretRequest
Trait Implementations§
Source§impl Clone for ActionsCreateOrUpdateEnvironmentSecretRequest
impl Clone for ActionsCreateOrUpdateEnvironmentSecretRequest
Source§fn clone(&self) -> ActionsCreateOrUpdateEnvironmentSecretRequest
fn clone(&self) -> ActionsCreateOrUpdateEnvironmentSecretRequest
Returns a duplicate 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 Default for ActionsCreateOrUpdateEnvironmentSecretRequest
impl Default for ActionsCreateOrUpdateEnvironmentSecretRequest
Source§fn default() -> ActionsCreateOrUpdateEnvironmentSecretRequest
fn default() -> ActionsCreateOrUpdateEnvironmentSecretRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionsCreateOrUpdateEnvironmentSecretRequest
impl<'de> Deserialize<'de> for ActionsCreateOrUpdateEnvironmentSecretRequest
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 ActionsCreateOrUpdateEnvironmentSecretRequest
impl PartialEq for ActionsCreateOrUpdateEnvironmentSecretRequest
Source§fn eq(&self, other: &ActionsCreateOrUpdateEnvironmentSecretRequest) -> bool
fn eq(&self, other: &ActionsCreateOrUpdateEnvironmentSecretRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActionsCreateOrUpdateEnvironmentSecretRequest
Auto Trait Implementations§
impl Freeze for ActionsCreateOrUpdateEnvironmentSecretRequest
impl RefUnwindSafe for ActionsCreateOrUpdateEnvironmentSecretRequest
impl Send for ActionsCreateOrUpdateEnvironmentSecretRequest
impl Sync for ActionsCreateOrUpdateEnvironmentSecretRequest
impl Unpin for ActionsCreateOrUpdateEnvironmentSecretRequest
impl UnwindSafe for ActionsCreateOrUpdateEnvironmentSecretRequest
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