pub struct FamilyKey { /* private fields */ }Expand description
A parameterized query family’s identity and template (design 310 §3), re-exported from
rindle-wire so a daemon groups subscriptions with the same types the engine binds on.
Every daemon-side input that can affect the emitted rows of a family: the same four
fields as QueryKey, with the canonical template
bytes in place of the canonical AST bytes.
Implementations§
Source§impl FamilyKey
impl FamilyKey
pub fn schema_version(&self) -> &str
pub fn stream_mode(&self) -> StreamMode
pub fn visibility_key(&self) -> &str
Sourcepub fn canonical_template(&self) -> &[u8] ⓘ
pub fn canonical_template(&self) -> &[u8] ⓘ
The canonical template bytes: the canonical AST JSON with {"hole": i} in each
holed conjunct’s right position.
pub fn fingerprint(&self) -> u64
pub fn fingerprint_hex(&self) -> String
Trait Implementations§
impl Eq for FamilyKey
Auto Trait Implementations§
impl Freeze for FamilyKey
impl RefUnwindSafe for FamilyKey
impl Send for FamilyKey
impl Sync for FamilyKey
impl Unpin for FamilyKey
impl UnsafeUnpin for FamilyKey
impl UnwindSafe for FamilyKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.