pub struct PatchActionsUpdateOrgVariable {
pub name: Option<String>,
pub value: Option<String>,
pub visibility: Option<String>,
pub selected_repository_ids: Option<Vec<i32>>,
}Fields§
§name: Option<String>The name of the variable.
value: Option<String>The value of the variable.
visibility: Option<String>The type of repositories in the organization that can access the variable. selected means only the repositories specified by selected_repository_ids can access the variable.
selected_repository_ids: Option<Vec<i32>>An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the visibility is set to selected.
Trait Implementations§
Source§impl Clone for PatchActionsUpdateOrgVariable
impl Clone for PatchActionsUpdateOrgVariable
Source§fn clone(&self) -> PatchActionsUpdateOrgVariable
fn clone(&self) -> PatchActionsUpdateOrgVariable
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 PatchActionsUpdateOrgVariable
impl Default for PatchActionsUpdateOrgVariable
Source§fn default() -> PatchActionsUpdateOrgVariable
fn default() -> PatchActionsUpdateOrgVariable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchActionsUpdateOrgVariable
impl<'de> Deserialize<'de> for PatchActionsUpdateOrgVariable
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 PatchActionsUpdateOrgVariable
impl PartialEq for PatchActionsUpdateOrgVariable
Source§fn eq(&self, other: &PatchActionsUpdateOrgVariable) -> bool
fn eq(&self, other: &PatchActionsUpdateOrgVariable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchActionsUpdateOrgVariable
Auto Trait Implementations§
impl Freeze for PatchActionsUpdateOrgVariable
impl RefUnwindSafe for PatchActionsUpdateOrgVariable
impl Send for PatchActionsUpdateOrgVariable
impl Sync for PatchActionsUpdateOrgVariable
impl Unpin for PatchActionsUpdateOrgVariable
impl UnwindSafe for PatchActionsUpdateOrgVariable
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