pub struct EventMigration;Expand description
Event-specific migration operations
Implementations§
Source§impl EventMigration
impl EventMigration
Sourcepub fn create_event(event: &Event) -> Migration
pub fn create_event(event: &Event) -> Migration
Create a migration for adding an event
Sourcepub fn drop_event(event: &Event) -> Migration
pub fn drop_event(event: &Event) -> Migration
Create a migration for dropping an event
Sourcepub fn modify_event(old_event: &Event, new_event: &Event) -> Migration
pub fn modify_event(old_event: &Event, new_event: &Event) -> Migration
Create a migration for modifying an event
Auto Trait Implementations§
impl Freeze for EventMigration
impl RefUnwindSafe for EventMigration
impl Send for EventMigration
impl Sync for EventMigration
impl Unpin for EventMigration
impl UnsafeUnpin for EventMigration
impl UnwindSafe for EventMigration
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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