Struct burgundy::Domain [−][src]
pub struct Domain { /* fields omitted */ }
Methods
impl Domain
[src]
impl Domain
pub fn new(domain: &str) -> Self
[src]
pub fn new(domain: &str) -> Self
pub fn query(
&mut self,
key: &str,
value: &impl Display
) -> Result<(), Error>
[src]
pub fn query(
&mut self,
key: &str,
value: &impl Display
) -> Result<(), Error>
Pushes the key/value combination onto the path as a query parameter.
pub fn header(
&mut self,
key: &'static str,
value: &impl Display
)
[src]
pub fn header(
&mut self,
key: &'static str,
value: &impl Display
)
pub fn get(&self) -> Path
[src]
pub fn get(&self) -> Path
pub fn post(&self) -> Path
[src]
pub fn post(&self) -> Path
pub fn put(&self) -> Path
[src]
pub fn put(&self) -> Path
pub fn delete(&self) -> Path
[src]
pub fn delete(&self) -> Path
pub fn patch(&self) -> Path
[src]
pub fn patch(&self) -> Path
Trait Implementations
impl Debug for Domain
[src]
impl Debug for Domain
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Domain
[src]
impl Clone for Domain