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