Trait mangadex_api_schema::Endpoint
source · [−]pub trait Endpoint {
type Query: Serialize;
type Body: Serialize;
type Response: FromResponse;
fn path(&self) -> Cow<'_, str>;
fn method(&self) -> Method { ... }
fn require_auth(&self) -> bool { ... }
fn query(&self) -> Option<&Self::Query> { ... }
fn body(&self) -> Option<&Self::Body> { ... }
fn multipart(&self) -> Option<Form> { ... }
}