pub struct DraftDiff {
pub added: Option<Vec<PathWithRules>>,
pub deleted: Option<Vec<PathWithRules>>,
pub modified: Option<Vec<PathChange>>,
}Expand description
DraftDiff : The differences between the draft and active versions of a routing config.
Fields§
§added: Option<Vec<PathWithRules>>Paths that exist in the draft but not in the active version.
deleted: Option<Vec<PathWithRules>>Paths that exist in the active version but not in the draft.
modified: Option<Vec<PathChange>>Paths that exist in both versions but have changed.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DraftDiff
impl<'de> Deserialize<'de> for DraftDiff
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
impl StructuralPartialEq for DraftDiff
Auto Trait Implementations§
impl Freeze for DraftDiff
impl RefUnwindSafe for DraftDiff
impl Send for DraftDiff
impl Sync for DraftDiff
impl Unpin for DraftDiff
impl UnsafeUnpin for DraftDiff
impl UnwindSafe for DraftDiff
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