pub enum FieldPath {
}Variants§
Transport
RemoteIp
RemotePort
LocalIp
LocalPort
Peek
TlsSni
TlsAlpn
TlsVersion
TlsPeerCertSubjectCn
HttpMethod
HttpUriPath
HttpUriQuery
HttpHeader(Arc<str>)
HttpBody
Implementations§
Source§impl FieldPath
impl FieldPath
Sourcepub fn value_type(&self) -> FieldValueType
pub fn value_type(&self) -> FieldValueType
Authoritative FieldPath → value type mapping. Mirrors the
“Authoritative field paths” table in
spec/architecture/18-predicate-schema.md.
Sourcepub fn display_name(&self) -> String
pub fn display_name(&self) -> String
Stable display label for diagnostic messages.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldPath
impl<'de> Deserialize<'de> for FieldPath
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
impl Eq for FieldPath
impl StructuralPartialEq for FieldPath
Auto Trait Implementations§
impl Freeze for FieldPath
impl RefUnwindSafe for FieldPath
impl Send for FieldPath
impl Sync for FieldPath
impl Unpin for FieldPath
impl UnsafeUnpin for FieldPath
impl UnwindSafe for FieldPath
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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