pub struct CopyPlan { /* private fields */ }Expand description
Builder for a database copy plan.
Implementations§
Source§impl CopyPlan
impl CopyPlan
Sourcepub fn table<K: Key + 'static, V: Value + 'static>(
self,
table: TableDefinition<'_, K, V>,
) -> Self
pub fn table<K: Key + 'static, V: Value + 'static>( self, table: TableDefinition<'_, K, V>, ) -> Self
Add a normal table to the copy plan.
Sourcepub fn multimap<K: Key + 'static, V: Key + 'static>(
self,
table: MultimapTableDefinition<'_, K, V>,
) -> Self
pub fn multimap<K: Key + 'static, V: Key + 'static>( self, table: MultimapTableDefinition<'_, K, V>, ) -> Self
Add a multimap table to the copy plan.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CopyPlan
impl !RefUnwindSafe for CopyPlan
impl !Send for CopyPlan
impl !Sync for CopyPlan
impl Unpin for CopyPlan
impl !UnwindSafe for CopyPlan
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