pub struct CreateTagProtectionOption {
pub name_pattern: Option<String>,
pub whitelist_teams: Option<Vec<String>>,
pub whitelist_usernames: Option<Vec<String>>,
}Expand description
CreateTagProtectionOption options for creating a tag protection
Fields§
§name_pattern: Option<String>§whitelist_teams: Option<Vec<String>>§whitelist_usernames: Option<Vec<String>>Trait Implementations§
Source§impl Clone for CreateTagProtectionOption
impl Clone for CreateTagProtectionOption
Source§fn clone(&self) -> CreateTagProtectionOption
fn clone(&self) -> CreateTagProtectionOption
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 Debug for CreateTagProtectionOption
impl Debug for CreateTagProtectionOption
Source§impl<'de> Deserialize<'de> for CreateTagProtectionOption
impl<'de> Deserialize<'de> for CreateTagProtectionOption
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
impl StructuralPartialEq for CreateTagProtectionOption
Auto Trait Implementations§
impl Freeze for CreateTagProtectionOption
impl RefUnwindSafe for CreateTagProtectionOption
impl Send for CreateTagProtectionOption
impl Sync for CreateTagProtectionOption
impl Unpin for CreateTagProtectionOption
impl UnwindSafe for CreateTagProtectionOption
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