pub struct ComponentOccurrence {
pub component: String,
pub occurrence: usize,
pub items: Vec<(NodeKey, ItemValue)>,
}Expand description
One component occurrence projected into an ordered keyed item sequence.
Fields§
§component: StringComponent name (queue, backlog, exchange, …).
occurrence: usize0-based occurrence index of this component name within the document.
items: Vec<(NodeKey, ItemValue)>Ordered (node_key, item_value) pairs for this occurrence’s keyed items.
Keyed by NodeKey; values are the lossless source slices.
Trait Implementations§
Source§impl Clone for ComponentOccurrence
impl Clone for ComponentOccurrence
Source§impl Debug for ComponentOccurrence
impl Debug for ComponentOccurrence
impl Eq for ComponentOccurrence
Source§impl PartialEq for ComponentOccurrence
impl PartialEq for ComponentOccurrence
impl StructuralPartialEq for ComponentOccurrence
Auto Trait Implementations§
impl Forget for ComponentOccurrence
impl Freeze for ComponentOccurrence
impl RefUnwindSafe for ComponentOccurrence
impl Send for ComponentOccurrence
impl Sync for ComponentOccurrence
impl Unpin for ComponentOccurrence
impl UnsafeUnpin for ComponentOccurrence
impl UnwindSafe for ComponentOccurrence
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.