pub trait HasUrl {
// Required methods
fn url(&self) -> Option<&str>;
fn original_url(&self) -> Option<&str>;
// Provided method
fn get_url(&self) -> Option<&str> { ... }
}Expand description
URL fields shared by payloads that store both final and original URLs.
Required Methods§
Sourcefn original_url(&self) -> Option<&str>
fn original_url(&self) -> Option<&str>
The original URL before redirects.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".