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