Skip to main content

HangarRequest

Trait HangarRequest 

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

Trait implemented on all request structs.

Required Methods§

Source

fn url(&self) -> String

Gets the URL this request should be sent to.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§