pub struct TreeNodeDiff {
pub path: String,
pub kind: String,
pub hash: String,
pub metadata: HashMap<String, String>,
pub chain_seq: Option<u64>,
pub diff_type: TreeDiffType,
}Expand description
A diff entry for a single tree node.
Fields§
§path: StringResource path.
kind: StringResource kind (e.g., “namespace”, “service”, “agent”).
hash: StringNode hash after the change.
metadata: HashMap<String, String>Metadata key-value pairs.
chain_seq: Option<u64>Chain sequence that caused this change.
diff_type: TreeDiffTypeType of diff.
Trait Implementations§
Source§impl Clone for TreeNodeDiff
impl Clone for TreeNodeDiff
Source§impl Debug for TreeNodeDiff
impl Debug for TreeNodeDiff
Source§impl<'de> Deserialize<'de> for TreeNodeDiff
impl<'de> Deserialize<'de> for TreeNodeDiff
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 TreeNodeDiff
impl RefUnwindSafe for TreeNodeDiff
impl Send for TreeNodeDiff
impl Sync for TreeNodeDiff
impl Unpin for TreeNodeDiff
impl UnsafeUnpin for TreeNodeDiff
impl UnwindSafe for TreeNodeDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more