[−][src]Struct tantivy::schema::FieldValue
FieldValue
holds together a Field
and its Value
.
Methods
impl FieldValue
[src]
pub fn new(field: Field, value: Value) -> FieldValue
[src]
Constructor
pub fn field(&self) -> Field
[src]
Field accessor
pub fn value(&self) -> &Value
[src]
Value accessor
Trait Implementations
impl Clone for FieldValue
[src]
fn clone(&self) -> FieldValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for FieldValue
[src]
impl Ord for FieldValue
[src]
fn cmp(&self, other: &FieldValue) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<FieldValue> for FieldValue
[src]
fn eq(&self, other: &FieldValue) -> bool
[src]
fn ne(&self, other: &FieldValue) -> bool
[src]
impl PartialOrd<FieldValue> for FieldValue
[src]
fn partial_cmp(&self, other: &FieldValue) -> Option<Ordering>
[src]
fn lt(&self, other: &FieldValue) -> bool
[src]
fn le(&self, other: &FieldValue) -> bool
[src]
fn gt(&self, other: &FieldValue) -> bool
[src]
fn ge(&self, other: &FieldValue) -> bool
[src]
impl Debug for FieldValue
[src]
impl StructuralPartialEq for FieldValue
[src]
impl StructuralEq for FieldValue
[src]
impl Serialize for FieldValue
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for FieldValue
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for FieldValue
impl Sync for FieldValue
impl Unpin for FieldValue
impl UnwindSafe for FieldValue
impl RefUnwindSafe for FieldValue
Blanket Implementations
impl<T> Fruit for T where
T: Send + Downcast,
[src]
T: Send + Downcast,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,