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