#[non_exhaustive]pub struct FeatureReport {
pub objects: Vec<FeatureObject>,
pub visited_objects: u64,
pub selected_families: Vec<ObjectTypeName>,
pub truncated: bool,
}Expand description
Machine-readable read-only feature extraction report.
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.objects: Vec<FeatureObject>Extracted feature objects in deterministic traversal order.
visited_objects: u64Total model objects visited while extracting features.
selected_families: Vec<ObjectTypeName>Feature families requested by the caller.
truncated: boolWhether extraction stopped because a resource limit was reached.
Implementations§
Source§impl FeatureReport
impl FeatureReport
Sourcepub fn builder() -> FeatureReportBuilder<((), (), (), ())>
pub fn builder() -> FeatureReportBuilder<((), (), (), ())>
Create a builder for building FeatureReport.
On the builder, call .objects(...), .visited_objects(...), .selected_families(...), .truncated(...) to set the values of the fields.
Finally, call .build() to create the instance of FeatureReport.
Trait Implementations§
Source§impl Clone for FeatureReport
impl Clone for FeatureReport
Source§fn clone(&self) -> FeatureReport
fn clone(&self) -> FeatureReport
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 FeatureReport
impl Debug for FeatureReport
Source§impl<'de> Deserialize<'de> for FeatureReport
impl<'de> Deserialize<'de> for FeatureReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FeatureReport
impl RefUnwindSafe for FeatureReport
impl Send for FeatureReport
impl Sync for FeatureReport
impl Unpin for FeatureReport
impl UnsafeUnpin for FeatureReport
impl UnwindSafe for FeatureReport
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