[−][src]Struct lodestone::search::SearchBuilder
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]
fn clone(&self) -> SearchBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SearchBuilder
[src]
impl Default for SearchBuilder
[src]
fn default() -> SearchBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for SearchBuilder
impl Send for SearchBuilder
impl Sync for SearchBuilder
impl Unpin for SearchBuilder
impl UnwindSafe for SearchBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,