pub struct ShardByTenantConfig<T> {
pub shard_by: ShardByFn<T>,
pub shard_count: usize,
}Expand description
ShardByTenantConfig data container.
Fields§
§shard_by: ShardByFn<T>shard_by field for shard by.
shard_count: usizeshard_count field for shard count.
Auto Trait Implementations§
impl<T> Freeze for ShardByTenantConfig<T>
impl<T> !RefUnwindSafe for ShardByTenantConfig<T>
impl<T> !Send for ShardByTenantConfig<T>
impl<T> !Sync for ShardByTenantConfig<T>
impl<T> Unpin for ShardByTenantConfig<T>
impl<T> UnsafeUnpin for ShardByTenantConfig<T>
impl<T> !UnwindSafe for ShardByTenantConfig<T>
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