pub trait PathParts {
const PATH: &'static str;
// Required method
fn get_filled(&self) -> String;
}
Expand description
Path of ApiEndpoint
Required Associated Constants§
Required Methods§
Sourcefn get_filled(&self) -> String
fn get_filled(&self) -> String
path path with placeholders replaced with values
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.