pub struct MigrationPreviewEntry<'a> { /* private fields */ }Expand description
Borrowed bounded inspection of one migration preview entry.
Implementations§
Source§impl MigrationPreviewEntry<'_>
impl MigrationPreviewEntry<'_>
Sourcepub const fn id(&self) -> &MigrationId
pub const fn id(&self) -> &MigrationId
Return the compound migration identity.
Sourcepub const fn safety(&self) -> SafetyClass
pub const fn safety(&self) -> SafetyClass
Return the complete forward or reverse safety class.
Sourcepub const fn step_count(&self) -> usize
pub const fn step_count(&self) -> usize
Return the complete ordered operation count.
Sourcepub const fn transaction_group_count(&self) -> usize
pub const fn transaction_group_count(&self) -> usize
Return the schema transaction-group count.
Sourcepub const fn backfill_count(&self) -> usize
pub const fn backfill_count(&self) -> usize
Return the closed backfill-group count.
Sourcepub const fn is_reversible(&self) -> bool
pub const fn is_reversible(&self) -> bool
Report verified reversibility.
Trait Implementations§
Source§impl<'a> Clone for MigrationPreviewEntry<'a>
impl<'a> Clone for MigrationPreviewEntry<'a>
Source§fn clone(&self) -> MigrationPreviewEntry<'a>
fn clone(&self) -> MigrationPreviewEntry<'a>
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 moreimpl<'a> Copy for MigrationPreviewEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for MigrationPreviewEntry<'a>
impl<'a> RefUnwindSafe for MigrationPreviewEntry<'a>
impl<'a> Send for MigrationPreviewEntry<'a>
impl<'a> Sync for MigrationPreviewEntry<'a>
impl<'a> Unpin for MigrationPreviewEntry<'a>
impl<'a> UnsafeUnpin for MigrationPreviewEntry<'a>
impl<'a> UnwindSafe for MigrationPreviewEntry<'a>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request