pub struct ValidationSummary {
pub valid: Vec<(String, String)>,
pub installed: Vec<String>,
pub updated: Vec<String>,
pub schemas_applied: Vec<String>,
pub seeds_applied: Vec<String>,
pub disabled: Vec<String>,
}Fields§
§valid: Vec<(String, String)>§installed: Vec<String>§updated: Vec<String>§schemas_applied: Vec<String>§seeds_applied: Vec<String>§disabled: Vec<String>Implementations§
Source§impl ValidationSummary
impl ValidationSummary
pub const fn new() -> Self
pub fn add_valid(&mut self, name: String, version: String)
pub fn add_installed(&mut self, name: String)
pub fn add_updated(&mut self, name: String)
pub fn add_schema_applied(&mut self, name: String)
pub fn add_seed_applied(&mut self, name: String)
pub fn add_disabled(&mut self, name: String)
pub fn total_active(&self) -> usize
pub fn has_changes(&self) -> bool
Trait Implementations§
Source§impl Debug for ValidationSummary
impl Debug for ValidationSummary
Source§impl Default for ValidationSummary
impl Default for ValidationSummary
Auto Trait Implementations§
impl Freeze for ValidationSummary
impl RefUnwindSafe for ValidationSummary
impl Send for ValidationSummary
impl Sync for ValidationSummary
impl Unpin for ValidationSummary
impl UnwindSafe for ValidationSummary
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> 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