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>>, ) -> Self
pub fn declared<S: 'static>( id: impl Into<Arc<str>>, version: u32, window: usize, ) -> Self
pub fn batching(self, batch: Option<BatchDefinition>) -> Self
pub fn presentation(self, metadata: Metadata, rows: Vec<StreamField>) -> Self
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
Auto 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§
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