pub struct MatchConfig {
pub host: Option<String>,
pub path: Option<String>,
pub method: Option<String>,
pub content_type: Option<String>,
}Fields§
§host: Option<String>§path: Option<String>§method: Option<String>§content_type: Option<String>Trait Implementations§
Source§impl Clone for MatchConfig
impl Clone for MatchConfig
Source§fn clone(&self) -> MatchConfig
fn clone(&self) -> MatchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatchConfig
impl Debug for MatchConfig
Source§impl Default for MatchConfig
impl Default for MatchConfig
Source§fn default() -> MatchConfig
fn default() -> MatchConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MatchConfig
impl RefUnwindSafe for MatchConfig
impl Send for MatchConfig
impl Sync for MatchConfig
impl Unpin for MatchConfig
impl UnsafeUnpin for MatchConfig
impl UnwindSafe for MatchConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more