pub trait Request: Serialize {
type Response: DeserializeOwned;
const PRODUCT: Product;
const ENDPOINT: &'static str;
const METHOD: Method;
const KEYED: bool = false;
const SIGNED: bool = false;
}
Required Associated Constants§
Provided Associated Constants§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.