pub struct CreateShardKeyStmt {
pub collection: String,
pub shard_key: String,
pub shards_number: Option<u64>,
pub replication_factor: Option<u64>,
}Fields§
§collection: String§shard_key: String§shards_number: Option<u64>§replication_factor: Option<u64>Trait Implementations§
Source§impl Clone for CreateShardKeyStmt
impl Clone for CreateShardKeyStmt
Source§fn clone(&self) -> CreateShardKeyStmt
fn clone(&self) -> CreateShardKeyStmt
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 CreateShardKeyStmt
impl Debug for CreateShardKeyStmt
Source§impl PartialEq for CreateShardKeyStmt
impl PartialEq for CreateShardKeyStmt
impl StructuralPartialEq for CreateShardKeyStmt
Auto Trait Implementations§
impl Freeze for CreateShardKeyStmt
impl RefUnwindSafe for CreateShardKeyStmt
impl Send for CreateShardKeyStmt
impl Sync for CreateShardKeyStmt
impl Unpin for CreateShardKeyStmt
impl UnsafeUnpin for CreateShardKeyStmt
impl UnwindSafe for CreateShardKeyStmt
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