pub struct DropShardKeyStmt {
pub collection: String,
pub shard_key: ShardKey,
}Expand description
DROP SHARD KEY '<key>' ON COLLECTION <c>.
Fields§
§collection: StringCollection to update.
shard_key: ShardKeyShard key value to remove.
Trait Implementations§
Source§impl Clone for DropShardKeyStmt
impl Clone for DropShardKeyStmt
Source§fn clone(&self) -> DropShardKeyStmt
fn clone(&self) -> DropShardKeyStmt
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 moreSource§impl Debug for DropShardKeyStmt
impl Debug for DropShardKeyStmt
Source§impl PartialEq for DropShardKeyStmt
impl PartialEq for DropShardKeyStmt
impl StructuralPartialEq for DropShardKeyStmt
Auto Trait Implementations§
impl Freeze for DropShardKeyStmt
impl RefUnwindSafe for DropShardKeyStmt
impl Send for DropShardKeyStmt
impl Sync for DropShardKeyStmt
impl Unpin for DropShardKeyStmt
impl UnsafeUnpin for DropShardKeyStmt
impl UnwindSafe for DropShardKeyStmt
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