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