pub struct BindingEdge {
pub kind: BindingSite,
pub report: Option<NameKey>,
pub page: Option<NameKey>,
pub visual: Option<NameKey>,
pub bookmark: Option<NameKey>,
pub mobile: bool,
}Expand description
One report binding and the site it lives in — the payload of
Provenance::Binding.
Fields§
§kind: BindingSiteWhat the binding does.
report: Option<NameKey>The report carrying the binding, when the source recorded a name.
page: Option<NameKey>The page the binding lives on; None for report-level bindings.
visual: Option<NameKey>The visual the binding lives in; None outside visuals.
bookmark: Option<NameKey>The bookmark whose saved state carries the binding; None for live
bindings.
mobile: boolWhether the binding lives in the phone layout (definition.mobile/)
rather than the desktop tree. Provenance only — both layouts bind
identically — but it tells a user auditing a survivor which surface to
look at (issue #49).
Trait Implementations§
Source§impl Clone for BindingEdge
impl Clone for BindingEdge
Source§fn clone(&self) -> BindingEdge
fn clone(&self) -> BindingEdge
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BindingEdge
impl Debug for BindingEdge
Source§impl Display for BindingEdge
impl Display for BindingEdge
Source§fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Human-readable site description, e.g.
field well 'Y' — visual 'V1' on page 'P1' in report 'Mini'. The same
phrase a Provenance::Binding renders, published on the edge itself
so findings that carry a binding without being a graph edge (the
broken-visual records) render identically.
impl Eq for BindingEdge
Source§impl Hash for BindingEdge
impl Hash for BindingEdge
Source§impl PartialEq for BindingEdge
impl PartialEq for BindingEdge
impl StructuralPartialEq for BindingEdge
Auto Trait Implementations§
impl Freeze for BindingEdge
impl RefUnwindSafe for BindingEdge
impl Send for BindingEdge
impl Sync for BindingEdge
impl Unpin for BindingEdge
impl UnsafeUnpin for BindingEdge
impl UnwindSafe for BindingEdge
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.