pub enum EventFilter {
}
Expand description
A Boolean expression for filtering broker events.
Variants§
Repository(RepoId)
Event for a specific repository.
Branch(RefString)
Event is for a specific branch.
BranchCreated
Branch was created.
BranchUpdated
Branch was updated.
BranchDeleted
Branch was deleted.
Patch(Oid)
Event is for a specific patch.
PatchCreated
Patch was created.
PatchUpdated
Patch was updated,
Node(NodeId)
Change originated from specific node.
Allow
Allow any event.
Deny
Don’t allow any event.
Not(Box<Self>)
Allow the opposite of the contained filter.
And(Vec<Box<Self>>)
Allow if all contained filters allow.
Or(Vec<Box<Self>>)
Allow if any contained filter allow.
Implementations§
Trait Implementations§
Source§impl Clone for EventFilter
impl Clone for EventFilter
Source§fn clone(&self) -> EventFilter
fn clone(&self) -> EventFilter
Returns a copy 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 EventFilter
impl Debug for EventFilter
Source§impl<'de> Deserialize<'de> for EventFilter
impl<'de> Deserialize<'de> for EventFilter
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
Auto Trait Implementations§
impl Freeze for EventFilter
impl RefUnwindSafe for EventFilter
impl Send for EventFilter
impl Sync for EventFilter
impl Unpin for EventFilter
impl UnwindSafe for EventFilter
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