Skip to main content

Description

Struct Description 

Source
pub struct Description {
Show 17 fields pub index_path: PathBuf, pub index_bytes: u64, pub about: About, pub fields: Fields, pub rank: Rank, pub record_count: i64, pub group_count: i64, pub date_min: Option<String>, pub date_max: Option<String>, pub filters: Vec<FacetSummary>, pub largest_groups: Vec<GroupMatch>, pub example_id: Option<String>, pub mapping_inferred: bool, pub built_at: Option<String>, pub updated_at: Option<String>, pub skipped_lines: i64, pub schema_version: String,
}
Expand description

Everything an agent needs to query this index well.

Fields§

§index_path: PathBuf§index_bytes: u64§about: About§fields: Fields§rank: Rank§record_count: i64§group_count: i64§date_min: Option<String>§date_max: Option<String>§filters: Vec<FacetSummary>§largest_groups: Vec<GroupMatch>§example_id: Option<String>§mapping_inferred: bool§built_at: Option<String>§updated_at: Option<String>§skipped_lines: i64§schema_version: String

Trait Implementations§

Source§

impl Debug for Description

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for Description

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.