Skip to main content

HasMethod

Trait HasMethod 

Source
pub trait HasMethod {
    // Required method
    fn method(&self) -> String;
}
Expand description

helper trait to expose API method for each request, used by jqdata-derive crate

Required Methods§

Source

fn method(&self) -> String

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§