pub struct CreateSchema {
pub name: String,
pub if_not_exists: bool,
}
Fields§
§name: String
§if_not_exists: bool
Implementations§
Source§impl CreateSchema
impl CreateSchema
pub fn new(name: &str) -> Self
pub fn if_not_exists(self) -> Self
Trait Implementations§
Source§impl Debug for CreateSchema
impl Debug for CreateSchema
Auto Trait Implementations§
impl Freeze for CreateSchema
impl RefUnwindSafe for CreateSchema
impl Send for CreateSchema
impl Sync for CreateSchema
impl Unpin for CreateSchema
impl UnwindSafe for CreateSchema
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