pub enum DependencyRef {
Model(String),
Source {
source_name: String,
table_name: String,
},
}Expand description
Parsed dependency reference from a Jinja-style model query.
Variants§
Trait Implementations§
Source§impl Clone for DependencyRef
impl Clone for DependencyRef
Source§fn clone(&self) -> DependencyRef
fn clone(&self) -> DependencyRef
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 moreSource§impl Debug for DependencyRef
impl Debug for DependencyRef
Source§impl<'de> Deserialize<'de> for DependencyRef
impl<'de> Deserialize<'de> for DependencyRef
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
impl Eq for DependencyRef
Source§impl Hash for DependencyRef
impl Hash for DependencyRef
Source§impl PartialEq for DependencyRef
impl PartialEq for DependencyRef
Source§impl Serialize for DependencyRef
impl Serialize for DependencyRef
impl StructuralPartialEq for DependencyRef
Auto Trait Implementations§
impl Freeze for DependencyRef
impl RefUnwindSafe for DependencyRef
impl Send for DependencyRef
impl Sync for DependencyRef
impl Unpin for DependencyRef
impl UnsafeUnpin for DependencyRef
impl UnwindSafe for DependencyRef
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.