#[non_exhaustive]pub struct ItemsDetection {
pub items: Vec<Value>,
pub items_path: String,
pub meta: Option<Map<String, Value>>,
}Expand description
Outcome of items-array detection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.items: Vec<Value>Records to cluster.
items_path: StringPath used to reach the items array (. for a bare array,
.field for an object field).
meta: Option<Map<String, Value>>Sidecar metadata: every non-array, non-object scalar plus
nested objects on the root, when the root was an object. None
when the root was a bare array.
Trait Implementations§
Source§impl Clone for ItemsDetection
impl Clone for ItemsDetection
Source§fn clone(&self) -> ItemsDetection
fn clone(&self) -> ItemsDetection
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 ItemsDetection
impl Debug for ItemsDetection
Source§impl PartialEq for ItemsDetection
impl PartialEq for ItemsDetection
impl StructuralPartialEq for ItemsDetection
Auto Trait Implementations§
impl Freeze for ItemsDetection
impl RefUnwindSafe for ItemsDetection
impl Send for ItemsDetection
impl Sync for ItemsDetection
impl Unpin for ItemsDetection
impl UnsafeUnpin for ItemsDetection
impl UnwindSafe for ItemsDetection
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