pub struct ViewSnapshot {
pub name: String,
pub definition: String,
}Expand description
Snapshot of a view
Fields§
§name: StringView name
definition: StringView definition (normalized SQL)
Trait Implementations§
Source§impl Clone for ViewSnapshot
impl Clone for ViewSnapshot
Source§fn clone(&self) -> ViewSnapshot
fn clone(&self) -> ViewSnapshot
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 ViewSnapshot
impl Debug for ViewSnapshot
Source§impl<'de> Deserialize<'de> for ViewSnapshot
impl<'de> Deserialize<'de> for ViewSnapshot
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 ViewSnapshot
Source§impl PartialEq for ViewSnapshot
impl PartialEq for ViewSnapshot
Source§fn eq(&self, other: &ViewSnapshot) -> bool
fn eq(&self, other: &ViewSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ViewSnapshot
impl Serialize for ViewSnapshot
impl StructuralPartialEq for ViewSnapshot
Auto Trait Implementations§
impl Freeze for ViewSnapshot
impl RefUnwindSafe for ViewSnapshot
impl Send for ViewSnapshot
impl Sync for ViewSnapshot
impl Unpin for ViewSnapshot
impl UnsafeUnpin for ViewSnapshot
impl UnwindSafe for ViewSnapshot
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