pub struct PlacementMetadataKeys {
pub intent: String,
pub colocate_with: String,
pub colocate_with_strict: String,
}Expand description
Metadata-key names used by the intent + colocation axes. Allows applications to override the default keys when migrating from a legacy convention.
Fields§
§intent: StringDefault "intent".
colocate_with: StringDefault "colocate-with".
colocate_with_strict: StringDefault "colocate-with-strict".
Trait Implementations§
Source§impl Clone for PlacementMetadataKeys
impl Clone for PlacementMetadataKeys
Source§fn clone(&self) -> PlacementMetadataKeys
fn clone(&self) -> PlacementMetadataKeys
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 PlacementMetadataKeys
impl Debug for PlacementMetadataKeys
Auto Trait Implementations§
impl Freeze for PlacementMetadataKeys
impl RefUnwindSafe for PlacementMetadataKeys
impl Send for PlacementMetadataKeys
impl Sync for PlacementMetadataKeys
impl Unpin for PlacementMetadataKeys
impl UnsafeUnpin for PlacementMetadataKeys
impl UnwindSafe for PlacementMetadataKeys
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