Trait vkrs::api::Request

source ·
pub trait Request {
    type Response: DeserializeOwned;

    fn method_name() -> &'static str;
    fn to_query_string(&self) -> String;

    fn permissions() -> Permissions { ... }
    fn to_url(&self) -> Url { ... }
}
Expand description

Trait for things that can be posted to VK API directly

Required Associated Types

Required Methods

Provided Methods

Implementors