pub struct View { /* private fields */ }Implementations§
Source§impl View
impl View
pub fn new<S: Into<String>>( schema_name: Option<S>, name: S, sql: S, database_type: Option<DatabaseType>, ) -> Self
pub fn schema_name(&self) -> Option<&str>
pub fn name(&self) -> &str
pub fn sql(&self) -> &str
pub fn database_type(&self) -> Option<DatabaseType>
pub fn fully_qualified_view_name(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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