pub enum LabelPolicy {
Warn,
Refuse,
}Expand description
What an ingest does with a dimension that resembles a label the about already holds: the same identifier up to case and separators, or the same value under another key.
Variants§
Warn
Write it and say so: warnings and resembling_labels name the
match, so vocabulary drift is seen when it happens.
Refuse
Refuse the ingest naming the match, unless the dimension carries the metadata that says the writer read the catalogue and insists.
Trait Implementations§
Source§impl Clone for LabelPolicy
impl Clone for LabelPolicy
Source§fn clone(&self) -> LabelPolicy
fn clone(&self) -> LabelPolicy
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 moreimpl Copy for LabelPolicy
Source§impl Debug for LabelPolicy
impl Debug for LabelPolicy
Source§impl Default for LabelPolicy
impl Default for LabelPolicy
Source§fn default() -> LabelPolicy
fn default() -> LabelPolicy
Returns the “default value” for a type. Read more
impl Eq for LabelPolicy
Source§impl PartialEq for LabelPolicy
impl PartialEq for LabelPolicy
impl StructuralPartialEq for LabelPolicy
Auto Trait Implementations§
impl Freeze for LabelPolicy
impl RefUnwindSafe for LabelPolicy
impl Send for LabelPolicy
impl Sync for LabelPolicy
impl Unpin for LabelPolicy
impl UnsafeUnpin for LabelPolicy
impl UnwindSafe for LabelPolicy
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