[][src]Struct bindle::search::Matches

pub struct Matches {
    pub query: String,
    pub strict: bool,
    pub offset: u64,
    pub limit: u8,
    pub total: u64,
    pub more: bool,
    pub yanked: bool,
    pub invoices: Vec<Invoice>,
}

Describes the matches that are returned from a query

Fields

query: String

The query used to find this match set

strict: bool

Whether the search engine used strict mode

offset: u64

The offset of the first result in the matches

limit: u8

The maximum number of results this query would have returned

total: u64

The total number of matches the search engine located

In many cases, this will not match the number of results returned on this query

more: bool

Whether there are more results than the ones returned here

yanked: bool

Whether this list includes potentially yanked invoices

invoices: Vec<Invoice>

The list of invoices returned as this part of the query

The length of this Vec will be less than or equal to the limit.

Trait Implementations

impl Debug for Matches[src]

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

impl Serialize for Matches[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> Same<T> for T

type Output = T

Should always be Self

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>,