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