pub struct DiscoveredField {
pub field_type: FieldType,
pub confidence: Confidence,
pub is_key_candidate: bool,
pub is_array: bool,
pub array_size: Option<usize>,
pub is_locstring: bool,
pub locstring_index: Option<u8>,
pub sample_values: Vec<u32>,
}Expand description
Represents a discovered field type with confidence level
Fields§
§field_type: FieldTypeThe field type
confidence: ConfidenceConfidence level in the detection
is_key_candidate: boolWhether the field is potentially a key field
is_array: boolWhether the field is an array
array_size: Option<usize>Size of the array, if the field is an array
is_locstring: boolWhether this field is part of a localized string (locstring) Classic WoW locstrings have 8 string refs (one per locale) + 1 flags field
locstring_index: Option<u8>Locale index within a locstring (0-7 for string refs, 8 for flags field)
sample_values: Vec<u32>Sample values (for validation and debugging)
Trait Implementations§
Source§impl Clone for DiscoveredField
impl Clone for DiscoveredField
Source§fn clone(&self) -> DiscoveredField
fn clone(&self) -> DiscoveredField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DiscoveredField
impl RefUnwindSafe for DiscoveredField
impl Send for DiscoveredField
impl Sync for DiscoveredField
impl Unpin for DiscoveredField
impl UnwindSafe for DiscoveredField
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