Expand description
Represents the requests validation token.
Validation tokens are used to check the validity of the Profile retrieved the every request submitted to the cluster.
Fields§
§token: UuidThis token should be used as the request identifier.
own_service: StringThis field should contains the name of the requester service. Such name should be used to check if the token was consumed by the downstream route, enabled by the service router.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TokenDTO
impl<'de> Deserialize<'de> for TokenDTO
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
source§impl PartialEq<TokenDTO> for TokenDTO
impl PartialEq<TokenDTO> for TokenDTO
impl Eq for TokenDTO
impl StructuralEq for TokenDTO
impl StructuralPartialEq for TokenDTO
Auto Trait Implementations§
impl RefUnwindSafe for TokenDTO
impl Send for TokenDTO
impl Sync for TokenDTO
impl Unpin for TokenDTO
impl UnwindSafe for TokenDTO
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.