pub struct PutDependabotCreateOrUpdateOrgSecret {
pub encrypted_value: Option<String>,
pub key_id: Option<String>,
pub visibility: Option<String>,
pub selected_repository_ids: Option<Vec<String>>,
}Fields§
§encrypted_value: Option<String>Value for your secret, encrypted with LibSodium using the public key retrieved from the Get an organization public key endpoint.
key_id: Option<String>ID of the key you used to encrypt the secret.
visibility: Option<String>Which type of organization repositories have access to the organization secret. selected means only the repositories specified by selected_repository_ids can access the secret.
selected_repository_ids: Option<Vec<String>>An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the visibility is set to selected. You can manage the list of selected repositories using the List selected repositories for an organization secret, Set selected repositories for an organization secret, and Remove selected repository from an organization secret endpoints.
Trait Implementations§
Source§impl Clone for PutDependabotCreateOrUpdateOrgSecret
impl Clone for PutDependabotCreateOrUpdateOrgSecret
Source§fn clone(&self) -> PutDependabotCreateOrUpdateOrgSecret
fn clone(&self) -> PutDependabotCreateOrUpdateOrgSecret
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 PutDependabotCreateOrUpdateOrgSecret
impl Default for PutDependabotCreateOrUpdateOrgSecret
Source§fn default() -> PutDependabotCreateOrUpdateOrgSecret
fn default() -> PutDependabotCreateOrUpdateOrgSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PutDependabotCreateOrUpdateOrgSecret
impl<'de> Deserialize<'de> for PutDependabotCreateOrUpdateOrgSecret
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 PutDependabotCreateOrUpdateOrgSecret
impl PartialEq for PutDependabotCreateOrUpdateOrgSecret
Source§fn eq(&self, other: &PutDependabotCreateOrUpdateOrgSecret) -> bool
fn eq(&self, other: &PutDependabotCreateOrUpdateOrgSecret) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PutDependabotCreateOrUpdateOrgSecret
Auto Trait Implementations§
impl Freeze for PutDependabotCreateOrUpdateOrgSecret
impl RefUnwindSafe for PutDependabotCreateOrUpdateOrgSecret
impl Send for PutDependabotCreateOrUpdateOrgSecret
impl Sync for PutDependabotCreateOrUpdateOrgSecret
impl Unpin for PutDependabotCreateOrUpdateOrgSecret
impl UnwindSafe for PutDependabotCreateOrUpdateOrgSecret
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