pub struct InlineClockBinding {
pub statements: Vec<String>,
pub reference: String,
}Expand description
A clock bound once for a whole load script — what
SqlRenderer::render_inline_clock_binding answers on an engine whose
loads ship as flat statement lists rather than procedure bodies.
The statements run first and capture the engine’s current moment under
one name; reference is the expression every later statement of the same
run reads it back by. One binding, many readers, is what makes a version’s
close and its successor’s open the same instant by construction.
Fields§
§statements: Vec<String>The statement(s) that bind the moment, in run order, each terminated.
reference: StringThe expression that reads the bound moment back.
Trait Implementations§
Source§impl Clone for InlineClockBinding
impl Clone for InlineClockBinding
Source§impl Debug for InlineClockBinding
impl Debug for InlineClockBinding
impl Eq for InlineClockBinding
Source§impl PartialEq for InlineClockBinding
impl PartialEq for InlineClockBinding
impl StructuralPartialEq for InlineClockBinding
Auto Trait Implementations§
impl Forget for InlineClockBinding
impl Freeze for InlineClockBinding
impl Move for InlineClockBinding
impl RefUnwindSafe for InlineClockBinding
impl Send for InlineClockBinding
impl Sync for InlineClockBinding
impl Unpin for InlineClockBinding
impl UnsafeUnpin for InlineClockBinding
impl UnwindSafe for InlineClockBinding
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