Trait proxer::Endpoint
[−]
[src]
pub trait Endpoint: Serialize { type ResponseType: Debug + Clone + DeserializeOwned; const URL: &'static str; }
Every struct that is an endpoint, implements this trait.
Associated Types
type ResponseType: Debug + Clone + DeserializeOwned
Associated Constants
Implementors
impl Endpoint for GetFullEntry type ResponseType = Fullentry;
impl Endpoint for GetEntry type ResponseType = GetEntry;
impl Endpoint for GetComments type ResponseType = Vec<Comment>;
impl Endpoint for Login type ResponseType = Login;
impl Endpoint for Logout type ResponseType = Logout;
impl Endpoint for Userinfo type ResponseType = Userinfo;
impl Endpoint for GetTopten type ResponseType = TopTen;
impl Endpoint for GetList type ResponseType = Vec<GetList>;