pub struct PathChange {
pub path_id: Option<String>,
pub path: Option<String>,
pub old_path: Option<String>,
pub rules_added: Option<Vec<RuleResponse>>,
pub rules_changed: Option<Vec<RuleChange>>,
pub rules_deleted: Option<Vec<RuleResponse>>,
}Expand description
PathChange : Modifications to an existing path between versions.
Fields§
§path_id: Option<String>Alphanumeric string identifying the path. Stable across versions of the routing config.
path: Option<String>The current path pattern.
old_path: Option<String>The previous path pattern, if it changed.
rules_added: Option<Vec<RuleResponse>>Rules that were added to this path.
rules_changed: Option<Vec<RuleChange>>Rules that were modified on this path.
rules_deleted: Option<Vec<RuleResponse>>Rules that were removed from this path.
Implementations§
Source§impl PathChange
impl PathChange
Sourcepub fn new() -> PathChange
pub fn new() -> PathChange
Modifications to an existing path between versions.
Trait Implementations§
Source§impl Clone for PathChange
impl Clone for PathChange
Source§fn clone(&self) -> PathChange
fn clone(&self) -> PathChange
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 PathChange
impl Debug for PathChange
Source§impl Default for PathChange
impl Default for PathChange
Source§fn default() -> PathChange
fn default() -> PathChange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathChange
impl<'de> Deserialize<'de> for PathChange
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 PathChange
impl PartialEq for PathChange
Source§impl Serialize for PathChange
impl Serialize for PathChange
impl StructuralPartialEq for PathChange
Auto Trait Implementations§
impl Freeze for PathChange
impl RefUnwindSafe for PathChange
impl Send for PathChange
impl Sync for PathChange
impl Unpin for PathChange
impl UnsafeUnpin for PathChange
impl UnwindSafe for PathChange
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