[][src]Trait pokerust::FromName

pub trait FromName: Named + Endpoint where
    Self: Sized
{ fn from_name(id: &str) -> Result<Self, Error>; }

API resources that can be retrived from a name.

Required methods

fn from_name(id: &str) -> Result<Self, Error>

Retrieve the API object of this type with this name.

Loading content...

Implementors

impl<T: Endpoint + Named + DeserializeOwned> FromName for T[src]

Loading content...