#[non_exhaustive]pub enum SemanticEntityType {
Endpoint,
Domain,
IpAddress,
AuthArtifact,
Header,
Technology,
Parameter,
UserRole,
}Expand description
Closed set of semantic entity types in the target system.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Endpoint
Network endpoint or API route (e.g. v1:endpoint:https://example.test/api/v1/user).
Endpoint identity is method-agnostic: any observed HTTP method is recorded
as a method attribute, never as part of the entity id.
Domain
Fully qualified domain name or hostname (e.g. v1:domain:example.test).
IpAddress
IP address (v4 or v6).
AuthArtifact
Authentication token or credential artifact (JWT, Session Cookie, Bearer token).
Header
Protocol or application header concept.
Technology
Identified technology, framework, or runtime component.
Parameter
Request parameter (query, body, path).
UserRole
User identity, role, or permission scope.
Trait Implementations§
Source§impl Clone for SemanticEntityType
impl Clone for SemanticEntityType
Source§fn clone(&self) -> SemanticEntityType
fn clone(&self) -> SemanticEntityType
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 moreimpl Copy for SemanticEntityType
Source§impl Debug for SemanticEntityType
impl Debug for SemanticEntityType
Source§impl<'de> Deserialize<'de> for SemanticEntityType
impl<'de> Deserialize<'de> for SemanticEntityType
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 SemanticEntityType
Source§impl Hash for SemanticEntityType
impl Hash for SemanticEntityType
Source§impl Ord for SemanticEntityType
impl Ord for SemanticEntityType
Source§fn cmp(&self, other: &SemanticEntityType) -> Ordering
fn cmp(&self, other: &SemanticEntityType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SemanticEntityType
impl PartialEq for SemanticEntityType
Source§impl PartialOrd for SemanticEntityType
impl PartialOrd for SemanticEntityType
Source§impl Serialize for SemanticEntityType
impl Serialize for SemanticEntityType
impl StructuralPartialEq for SemanticEntityType
Auto Trait Implementations§
impl Freeze for SemanticEntityType
impl RefUnwindSafe for SemanticEntityType
impl Send for SemanticEntityType
impl Sync for SemanticEntityType
impl Unpin for SemanticEntityType
impl UnsafeUnpin for SemanticEntityType
impl UnwindSafe for SemanticEntityType
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more