Struct spacegate_kernel::config::http_route_dto::SgHttpPathMatch
source · pub struct SgHttpPathMatch {
pub kind: SgHttpPathMatchType,
pub value: String,
}Expand description
HTTPPathMatch describes how to select a HTTP route by matching the HTTP request path.
Fields§
§kind: SgHttpPathMatchTypeType specifies how to match against the path Value.
value: StringValue of the HTTP path to match against.
Trait Implementations§
source§impl Clone for SgHttpPathMatch
impl Clone for SgHttpPathMatch
source§fn clone(&self) -> SgHttpPathMatch
fn clone(&self) -> SgHttpPathMatch
Returns a copy of the value. Read more
1.0.0 · 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 SgHttpPathMatch
impl Debug for SgHttpPathMatch
source§impl Default for SgHttpPathMatch
impl Default for SgHttpPathMatch
source§fn default() -> SgHttpPathMatch
fn default() -> SgHttpPathMatch
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SgHttpPathMatch
impl<'de> Deserialize<'de> for SgHttpPathMatch
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SgHttpPathMatch
impl Send for SgHttpPathMatch
impl Sync for SgHttpPathMatch
impl Unpin for SgHttpPathMatch
impl UnwindSafe for SgHttpPathMatch
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