[][src]Struct lodestone::search::SearchBuilder

pub struct SearchBuilder { /* fields omitted */ }

Implementations

impl SearchBuilder[src]

pub fn new() -> Self[src]

pub fn send(self) -> Result<Vec<Profile>, Error>[src]

Builds the search and executes it, returning a list of profiles that match the given criteria.

pub fn character(self, name: &str) -> Self[src]

A character name to search for. This can only be called once, and any further calls will simply overwrite the previous name.

pub fn datacenter<D: Into<Datacenter>>(self, datacenter: D) -> Self[src]

A datacenter to search in. Mutually exclusive to server. If a server was specified before calling this method, it will be replaced by the newer datacenter.

pub fn server<S: Into<Server>>(self, server: S) -> Self[src]

A server to search in. Mutually exclusive to datacenter. If a datacenter was specified before calling this method, it will be replaced by the newer server.

pub fn lang<L: Into<Language>>(self, lang: L) -> Self[src]

Which language to filter by. You can add multiple languages by calling this multiple times.

pub fn grand_company<G: Into<GrandCompany>>(self, gc: G) -> Self[src]

Which grand company to filter by. You can add multiple grand company filters by calling this multiple times.

Trait Implementations

impl Clone for SearchBuilder[src]

impl Debug for SearchBuilder[src]

impl Default for SearchBuilder[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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.