pub struct HashShardingSpec {
pub columns: Vec<String>,
pub buckets: u32,
pub co_location_group: Option<String>,
}Fields§
§columns: Vec<String>§buckets: u32§co_location_group: Option<String>Trait Implementations§
Source§impl Clone for HashShardingSpec
impl Clone for HashShardingSpec
Source§fn clone(&self) -> HashShardingSpec
fn clone(&self) -> HashShardingSpec
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 HashShardingSpec
impl Debug for HashShardingSpec
impl Eq for HashShardingSpec
Source§impl PartialEq for HashShardingSpec
impl PartialEq for HashShardingSpec
impl StructuralPartialEq for HashShardingSpec
Auto Trait Implementations§
impl Freeze for HashShardingSpec
impl RefUnwindSafe for HashShardingSpec
impl Send for HashShardingSpec
impl Sync for HashShardingSpec
impl Unpin for HashShardingSpec
impl UnsafeUnpin for HashShardingSpec
impl UnwindSafe for HashShardingSpec
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