pub struct DiffResult {
pub protocol_version: String,
pub origin_id: String,
pub provider_name: String,
pub timestamp: i64,
pub fingerprint: Option<String>,
pub parent_origin_id: Option<String>,
pub labels: BTreeMap<String, String>,
pub nodes: Vec<DiffNode>,
}Expand description
A computed comparison: the current snapshot’s metadata plus the classified nodes.
Fields§
§protocol_version: String§origin_id: String§provider_name: String§timestamp: i64§fingerprint: Option<String>§parent_origin_id: Option<String>§labels: BTreeMap<String, String>§nodes: Vec<DiffNode>The classified nodes (current nodes in order, then any removed nodes).
Implementations§
Trait Implementations§
Source§impl Clone for DiffResult
impl Clone for DiffResult
Source§fn clone(&self) -> DiffResult
fn clone(&self) -> DiffResult
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 DiffResult
impl Debug for DiffResult
Source§impl<'de> Deserialize<'de> for DiffResult
impl<'de> Deserialize<'de> for DiffResult
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 Eq for DiffResult
Source§impl PartialEq for DiffResult
impl PartialEq for DiffResult
Source§impl Serialize for DiffResult
impl Serialize for DiffResult
impl StructuralPartialEq for DiffResult
Auto Trait Implementations§
impl Freeze for DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnsafeUnpin for DiffResult
impl UnwindSafe for DiffResult
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