pub struct AutoCreationResult {
pub database_created: bool,
pub tables_created: Vec<String>,
pub errors: Vec<String>,
pub duration: Duration,
}Fields§
§database_created: bool§tables_created: Vec<String>§errors: Vec<String>§duration: DurationImplementations§
Source§impl AutoCreationResult
impl AutoCreationResult
pub fn has_changes(&self) -> bool
pub fn has_errors(&self) -> bool
Source§impl AutoCreationResult
impl AutoCreationResult
pub fn get_database_created(&self) -> &bool
pub fn get_mut_database_created(&mut self) -> &mut bool
pub fn set_database_created(&mut self, val: bool) -> &mut Self
pub fn get_tables_created(&self) -> &Vec<String>
pub fn get_mut_tables_created(&mut self) -> &mut Vec<String>
pub fn set_tables_created(&mut self, val: Vec<String>) -> &mut Self
pub fn get_errors(&self) -> &Vec<String>
pub fn get_mut_errors(&mut self) -> &mut Vec<String>
pub fn set_errors(&mut self, val: Vec<String>) -> &mut Self
pub fn get_duration(&self) -> &Duration
pub fn get_mut_duration(&mut self) -> &mut Duration
pub fn set_duration(&mut self, val: Duration) -> &mut Self
Trait Implementations§
Source§impl Clone for AutoCreationResult
impl Clone for AutoCreationResult
Source§fn clone(&self) -> AutoCreationResult
fn clone(&self) -> AutoCreationResult
Returns a duplicate 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 AutoCreationResult
impl Debug for AutoCreationResult
Auto Trait Implementations§
impl Freeze for AutoCreationResult
impl RefUnwindSafe for AutoCreationResult
impl Send for AutoCreationResult
impl Sync for AutoCreationResult
impl Unpin for AutoCreationResult
impl UnsafeUnpin for AutoCreationResult
impl UnwindSafe for AutoCreationResult
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more