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