pub struct RoutingRuleDef {
pub source_channel: String,
pub target_channel: String,
pub predicate: Option<String>,
}Expand description
Declarative routing rule definition loaded from server configuration.
Fields§
§source_channel: StringSource channel name from which messages are routed.
target_channel: StringTarget channel name to which matching messages are routed.
predicate: Option<String>Optional predicate expression that filters routed messages.
Trait Implementations§
Source§impl Clone for RoutingRuleDef
impl Clone for RoutingRuleDef
Source§fn clone(&self) -> RoutingRuleDef
fn clone(&self) -> RoutingRuleDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoutingRuleDef
impl Debug for RoutingRuleDef
Source§impl<'de> Deserialize<'de> for RoutingRuleDef
impl<'de> Deserialize<'de> for RoutingRuleDef
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 RoutingRuleDef
impl RefUnwindSafe for RoutingRuleDef
impl Send for RoutingRuleDef
impl Sync for RoutingRuleDef
impl Unpin for RoutingRuleDef
impl UnsafeUnpin for RoutingRuleDef
impl UnwindSafe for RoutingRuleDef
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