pub struct TagRule {
pub whitelist_usernames: Vec<String>,
pub whitelist_teams: Vec<String>,
}Expand description
Who may create tags that match a name pattern.
Fields§
§whitelist_usernames: Vec<String>The users who may create matching tags.
whitelist_teams: Vec<String>The teams who may create matching tags.
Trait Implementations§
impl Eq for TagRule
impl StructuralPartialEq for TagRule
Auto Trait Implementations§
impl Freeze for TagRule
impl RefUnwindSafe for TagRule
impl Send for TagRule
impl Sync for TagRule
impl Unpin for TagRule
impl UnsafeUnpin for TagRule
impl UnwindSafe for TagRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.