pub struct Definition { /* private fields */ }Implementations§
Source§impl Definition
impl Definition
pub fn row(&self) -> TypeId
pub fn batch(&self) -> Option<BatchDefinition>
pub fn publication( self, owner: impl Into<Arc<str>>, schema: impl Into<Arc<Schema>>, ) -> Definition
pub fn declared<S>(
id: impl Into<Arc<str>>,
version: u32,
window: usize,
) -> Definitionwhere
S: 'static,
pub fn batching(self, batch: Option<BatchDefinition>) -> Definition
pub fn presentation( self, metadata: Metadata, rows: Vec<StreamField>, ) -> Definition
pub fn metadata(&self) -> &Metadata
pub fn row_metadata(&self) -> &[StreamField]
pub fn id(&self) -> &str
pub fn owner(&self) -> Option<&str>
pub fn schema(&self) -> Option<&Schema>
pub fn version(&self) -> u32
pub fn window(&self) -> usize
Trait Implementations§
Source§impl Clone for Definition
impl Clone for Definition
Source§fn clone(&self) -> Definition
fn clone(&self) -> Definition
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 moreAuto Trait Implementations§
impl Freeze for Definition
impl RefUnwindSafe for Definition
impl Send for Definition
impl Sync for Definition
impl Unpin for Definition
impl UnsafeUnpin for Definition
impl UnwindSafe for Definition
Blanket Implementations§
impl<T> Allocation for T
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