pub struct RuleResponseAllOf {
pub id: Option<String>,
pub is_default: Option<bool>,
pub action: Option<Box<Action>>,
pub conditions: Option<Vec<RoutingConfigCondition>>,
}Fields§
§id: Option<String>Alphanumeric string identifying the rule. Stable across versions of the routing config.
is_default: Option<bool>Whether this is the default (catch-all) rule for the path.
action: Option<Box<Action>>§conditions: Option<Vec<RoutingConfigCondition>>The conditions a request must satisfy for this rule to match. Empty for the default rule.
Implementations§
Source§impl RuleResponseAllOf
impl RuleResponseAllOf
pub fn new() -> RuleResponseAllOf
Trait Implementations§
Source§impl Clone for RuleResponseAllOf
impl Clone for RuleResponseAllOf
Source§fn clone(&self) -> RuleResponseAllOf
fn clone(&self) -> RuleResponseAllOf
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 RuleResponseAllOf
impl Debug for RuleResponseAllOf
Source§impl Default for RuleResponseAllOf
impl Default for RuleResponseAllOf
Source§fn default() -> RuleResponseAllOf
fn default() -> RuleResponseAllOf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleResponseAllOf
impl<'de> Deserialize<'de> for RuleResponseAllOf
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 RuleResponseAllOf
impl PartialEq for RuleResponseAllOf
Source§impl Serialize for RuleResponseAllOf
impl Serialize for RuleResponseAllOf
impl StructuralPartialEq for RuleResponseAllOf
Auto Trait Implementations§
impl Freeze for RuleResponseAllOf
impl RefUnwindSafe for RuleResponseAllOf
impl Send for RuleResponseAllOf
impl Sync for RuleResponseAllOf
impl Unpin for RuleResponseAllOf
impl UnsafeUnpin for RuleResponseAllOf
impl UnwindSafe for RuleResponseAllOf
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