Struct arangors::view::ArangoSearchViewLink[][src]

pub struct ArangoSearchViewLink {
    pub analyzers: Option<Vec<String>>,
    pub fields: Option<HashMap<String, ArangoSearchViewLink>>,
    pub include_all_fields: Option<bool>,
    pub track_list_positions: Option<bool>,
    pub store_values: Option<StoreValues>,
}

Fields

analyzers: Option<Vec<String>>

A list of names of Analyzers to apply to values of processed document attributes.

fields: Option<HashMap<String, ArangoSearchViewLink>>

An object mapping names of attributes to process for each document to definitions.

include_all_fields: Option<bool>

If set to true, all document attributes will be processed, otherwise only the attributes in fields will be processed. Default: false

track_list_positions: Option<bool>

If set to true, the position of values in array values will be tracked, otherwise all values in an array will be treated as equal alternatives.

store_values: Option<StoreValues>

Controls how the view should keep track of the attribute values. Default: "none"

Implementations

impl ArangoSearchViewLink[src]

pub fn builder() -> ArangoSearchViewLinkBuilder<((), (), (), (), ())>[src]

Create a builder for building ArangoSearchViewLink. On the builder, call .analyzers(...)(optional), .fields(...)(optional), .include_all_fields(...)(optional), .track_list_positions(...)(optional), .store_values(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of ArangoSearchViewLink.

Trait Implementations

impl Debug for ArangoSearchViewLink[src]

impl<'de> Deserialize<'de> for ArangoSearchViewLink[src]

impl Serialize for ArangoSearchViewLink[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,