pub struct BindingRef<'a> {
pub page: Option<&'a NameKey>,
pub visual: Option<&'a NameKey>,
pub bookmark: Option<&'a NameKey>,
pub kind: BindingKind<'a>,
pub target: &'a FieldTarget,
}Expand description
Borrowed view of one report binding, with its provenance.
The page/visual/bookmark fields answer where the binding lives — the Nones
narrow it: a report-level filter has neither page nor visual, a page filter has
no visual. Which report a binding came from is answered by the
ReportModel it was enumerated from, so the report name is not repeated here.
Fields§
§page: Option<&'a NameKey>Page the binding lives on; None for report-level bindings.
visual: Option<&'a NameKey>Visual the binding lives in; None outside a visual.
bookmark: Option<&'a NameKey>Bookmark whose saved state carries the binding; None for live bindings.
kind: BindingKind<'a>What kind of binding this is.
target: &'a FieldTargetThe model object referenced, as written.
Trait Implementations§
Source§impl<'a> Clone for BindingRef<'a>
impl<'a> Clone for BindingRef<'a>
Source§fn clone(&self) -> BindingRef<'a>
fn clone(&self) -> BindingRef<'a>
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 moreimpl<'a> Copy for BindingRef<'a>
Source§impl<'a> Debug for BindingRef<'a>
impl<'a> Debug for BindingRef<'a>
impl<'a> Eq for BindingRef<'a>
Source§impl<'a> Hash for BindingRef<'a>
impl<'a> Hash for BindingRef<'a>
Source§impl<'a> PartialEq for BindingRef<'a>
impl<'a> PartialEq for BindingRef<'a>
impl<'a> StructuralPartialEq for BindingRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for BindingRef<'a>
impl<'a> RefUnwindSafe for BindingRef<'a>
impl<'a> Send for BindingRef<'a>
impl<'a> Sync for BindingRef<'a>
impl<'a> Unpin for BindingRef<'a>
impl<'a> UnsafeUnpin for BindingRef<'a>
impl<'a> UnwindSafe for BindingRef<'a>
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.