pub struct StaticAssignmentConfig {
pub instance_id: String,
pub shard_ids: Vec<u32>,
}Expand description
Parsed static assignment configuration.
Fields§
§instance_id: StringMember instance id.
shard_ids: Vec<u32>Shards assigned to this instance.
Trait Implementations§
Source§impl Clone for StaticAssignmentConfig
impl Clone for StaticAssignmentConfig
Source§fn clone(&self) -> StaticAssignmentConfig
fn clone(&self) -> StaticAssignmentConfig
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 StaticAssignmentConfig
impl Debug for StaticAssignmentConfig
impl Eq for StaticAssignmentConfig
Source§impl PartialEq for StaticAssignmentConfig
impl PartialEq for StaticAssignmentConfig
impl StructuralPartialEq for StaticAssignmentConfig
Auto Trait Implementations§
impl Freeze for StaticAssignmentConfig
impl RefUnwindSafe for StaticAssignmentConfig
impl Send for StaticAssignmentConfig
impl Sync for StaticAssignmentConfig
impl Unpin for StaticAssignmentConfig
impl UnsafeUnpin for StaticAssignmentConfig
impl UnwindSafe for StaticAssignmentConfig
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