pub struct RuleUpdate {
pub action: Option<Box<Action>>,
pub conditions: Option<Vec<RoutingConfigCondition>>,
pub position: Option<Box<Position>>,
}Expand description
RuleUpdate : All attributes for updating a rule. At least one of action, conditions, or position must be provided.
Fields§
§action: Option<Box<Action>>§conditions: Option<Vec<RoutingConfigCondition>>§position: Option<Box<Position>>Implementations§
Source§impl RuleUpdate
impl RuleUpdate
Sourcepub fn new() -> RuleUpdate
pub fn new() -> RuleUpdate
All attributes for updating a rule. At least one of action, conditions, or position must be provided.
Trait Implementations§
Source§impl Clone for RuleUpdate
impl Clone for RuleUpdate
Source§fn clone(&self) -> RuleUpdate
fn clone(&self) -> RuleUpdate
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 RuleUpdate
impl Debug for RuleUpdate
Source§impl Default for RuleUpdate
impl Default for RuleUpdate
Source§fn default() -> RuleUpdate
fn default() -> RuleUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleUpdate
impl<'de> Deserialize<'de> for RuleUpdate
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 RuleUpdate
impl PartialEq for RuleUpdate
Source§impl Serialize for RuleUpdate
impl Serialize for RuleUpdate
impl StructuralPartialEq for RuleUpdate
Auto Trait Implementations§
impl Freeze for RuleUpdate
impl RefUnwindSafe for RuleUpdate
impl Send for RuleUpdate
impl Sync for RuleUpdate
impl Unpin for RuleUpdate
impl UnsafeUnpin for RuleUpdate
impl UnwindSafe for RuleUpdate
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