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