pub struct QueryKey { /* private fields */ }Expand description
Every daemon-side input that can affect emitted rows for a materialized query.
Implementations§
Source§impl QueryKey
impl QueryKey
pub fn new( schema_version: impl Into<String>, stream_mode: StreamMode, ast: &Ast, visibility_key: impl Into<String>, ) -> Result<QueryKey, QueryKeyError>
pub fn schema_version(&self) -> &str
pub fn stream_mode(&self) -> StreamMode
pub fn visibility_key(&self) -> &str
pub fn canonical_ast(&self) -> &[u8] ⓘ
pub fn fingerprint(&self) -> u64
pub fn fingerprint_hex(&self) -> String
Trait Implementations§
impl Eq for QueryKey
Auto Trait Implementations§
impl Freeze for QueryKey
impl RefUnwindSafe for QueryKey
impl Send for QueryKey
impl Sync for QueryKey
impl Unpin for QueryKey
impl UnsafeUnpin for QueryKey
impl UnwindSafe for QueryKey
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