pub struct DependabotCreateOrUpdateRepoSecretRequest {
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 DependabotCreateOrUpdateRepoSecretRequest
impl Clone for DependabotCreateOrUpdateRepoSecretRequest
Source§fn clone(&self) -> DependabotCreateOrUpdateRepoSecretRequest
fn clone(&self) -> DependabotCreateOrUpdateRepoSecretRequest
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 DependabotCreateOrUpdateRepoSecretRequest
impl Default for DependabotCreateOrUpdateRepoSecretRequest
Source§fn default() -> DependabotCreateOrUpdateRepoSecretRequest
fn default() -> DependabotCreateOrUpdateRepoSecretRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependabotCreateOrUpdateRepoSecretRequest
impl<'de> Deserialize<'de> for DependabotCreateOrUpdateRepoSecretRequest
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 DependabotCreateOrUpdateRepoSecretRequest
impl PartialEq for DependabotCreateOrUpdateRepoSecretRequest
Source§fn eq(&self, other: &DependabotCreateOrUpdateRepoSecretRequest) -> bool
fn eq(&self, other: &DependabotCreateOrUpdateRepoSecretRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DependabotCreateOrUpdateRepoSecretRequest
Auto Trait Implementations§
impl Freeze for DependabotCreateOrUpdateRepoSecretRequest
impl RefUnwindSafe for DependabotCreateOrUpdateRepoSecretRequest
impl Send for DependabotCreateOrUpdateRepoSecretRequest
impl Sync for DependabotCreateOrUpdateRepoSecretRequest
impl Unpin for DependabotCreateOrUpdateRepoSecretRequest
impl UnwindSafe for DependabotCreateOrUpdateRepoSecretRequest
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