pub enum ViewRepresentation {
Sql {
sql: String,
dialect: String,
},
}
Expand description
Fields for the version 2 of the view metadata.
Variants§
Sql
Fields
This type of representation stores the original view definition in SQL and its SQL dialect.
Trait Implementations§
source§impl Clone for ViewRepresentation
impl Clone for ViewRepresentation
source§fn clone(&self) -> ViewRepresentation
fn clone(&self) -> ViewRepresentation
Returns a copy 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 ViewRepresentation
impl Debug for ViewRepresentation
source§impl<'de> Deserialize<'de> for ViewRepresentation
impl<'de> Deserialize<'de> for ViewRepresentation
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ViewRepresentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ViewRepresentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ViewRepresentation
impl PartialEq for ViewRepresentation
source§fn eq(&self, other: &ViewRepresentation) -> bool
fn eq(&self, other: &ViewRepresentation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ViewRepresentation
impl Serialize for ViewRepresentation
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ViewRepresentation
impl Representation for ViewRepresentation
impl StructuralPartialEq for ViewRepresentation
Auto Trait Implementations§
impl Freeze for ViewRepresentation
impl RefUnwindSafe for ViewRepresentation
impl Send for ViewRepresentation
impl Sync for ViewRepresentation
impl Unpin for ViewRepresentation
impl UnwindSafe for ViewRepresentation
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<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.