pub struct ProgramSchema {
pub inputs: Vec<Relation>,
pub outputs: Vec<Relation>,
}Expand description
A struct containing the tables (inputs) and views for a program.
Parse from the JSON data-type of the DDL generated by the SQL compiler.
Fields§
§inputs: Vec<Relation>§outputs: Vec<Relation>Implementations§
Source§impl ProgramSchema
impl ProgramSchema
pub fn relations_with_lateness(&self) -> Vec<SqlIdentifier>
Trait Implementations§
Source§impl Clone for ProgramSchema
impl Clone for ProgramSchema
Source§fn clone(&self) -> ProgramSchema
fn clone(&self) -> ProgramSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgramSchema
impl Debug for ProgramSchema
Source§impl Default for ProgramSchema
impl Default for ProgramSchema
Source§fn default() -> ProgramSchema
fn default() -> ProgramSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgramSchema
impl<'de> Deserialize<'de> for ProgramSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProgramSchema
impl PartialEq for ProgramSchema
Source§impl Serialize for ProgramSchema
impl Serialize for ProgramSchema
Source§impl<'__s> ToSchema<'__s> for ProgramSchema
impl<'__s> ToSchema<'__s> for ProgramSchema
impl Eq for ProgramSchema
impl StructuralPartialEq for ProgramSchema
Auto Trait Implementations§
impl Freeze for ProgramSchema
impl RefUnwindSafe for ProgramSchema
impl Send for ProgramSchema
impl Sync for ProgramSchema
impl Unpin for ProgramSchema
impl UnwindSafe for ProgramSchema
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.