Search

Struct Search 

Source
pub struct Search<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> Search<'a>

Source

pub async fn result(&self) -> RowSet

Source

pub async fn result_with_sort<C: CustomSort>( &self, orders: Vec<Order<C>>, ) -> Vec<NonZeroU32>

Source§

impl<'a> Search<'a>

Source

pub fn search_default(self) -> Self

Searches for data whose term is greater than or equal to the current date and time and is active.

Source

pub fn search_field(self, name: FieldName, condition: &'a Field) -> Self

Search field.

Source

pub fn search_term(self, condition: Term) -> Self

Search by data publication period.

Source

pub fn search_activity(self, condition: Activity) -> Self

Search by data activity.

Source

pub fn search_row(self, condition: &'a Number) -> Self

Search by row.

Source

pub fn search(self, condition: Condition<'a>) -> Self

Search with any condition.

Auto Trait Implementations§

§

impl<'a> Freeze for Search<'a>

§

impl<'a> RefUnwindSafe for Search<'a>

§

impl<'a> Send for Search<'a>

§

impl<'a> Sync for Search<'a>

§

impl<'a> Unpin for Search<'a>

§

impl<'a> UnwindSafe for Search<'a>

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

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

Source§

fn vzip(self) -> V