[][src]Struct xapian_rusty::Document

pub struct Document { /* fields omitted */ }

Implementations

impl Document[src]

pub fn new() -> Result<Self, i8>[src]

pub fn add_string(&mut self, slot: u32, data: &str) -> Result<(), i8>[src]

pub fn add_int(&mut self, slot: u32, data: i32) -> Result<(), i8>[src]

pub fn add_long(&mut self, slot: u32, data: i64) -> Result<(), i8>[src]

pub fn add_double(&mut self, slot: u32, data: f64) -> Result<(), i8>[src]

pub fn set_data(&mut self, data: &str) -> Result<(), i8>[src]

pub fn add_boolean_term(&mut self, data: &str) -> Result<(), i8>[src]

Auto Trait Implementations

impl RefUnwindSafe for Document

impl !Send for Document

impl !Sync for Document

impl Unpin for Document

impl UnwindSafe for Document

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> From<T> 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.