pub struct GroupRule {
pub matcher: String,
pub group: String,
pub since: Option<i64>,
pub until: Option<i64>,
}Expand description
One manual matcher -> group rule, optionally limited to a date window.
Several rules may share a matcher to give a contributor different
affiliations over time; where windows overlap the later since wins.
Fields§
§matcher: String§group: String§since: Option<i64>Inclusive start (unix seconds); None means open at the start.
until: Option<i64>Exclusive end (unix seconds); None means open at the end.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupRule
impl RefUnwindSafe for GroupRule
impl Send for GroupRule
impl Sync for GroupRule
impl Unpin for GroupRule
impl UnsafeUnpin for GroupRule
impl UnwindSafe for GroupRule
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