Struct saphir::http_context::operation::OperationId
source · pub struct OperationId(_);
Available on crate feature
operation
only.Expand description
Represent a single operation from a incoming request until a response is produced
Implementations§
source§impl OperationId
impl OperationId
Trait Implementations§
source§impl Clone for OperationId
impl Clone for OperationId
source§fn clone(&self) -> OperationId
fn clone(&self) -> OperationId
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 OperationId
impl Debug for OperationId
source§impl Default for OperationId
impl Default for OperationId
source§fn default() -> OperationId
fn default() -> OperationId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OperationId
impl<'de> Deserialize<'de> for OperationId
source§fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<Self, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for OperationId
impl Display for OperationId
source§impl FromStr for OperationId
impl FromStr for OperationId
source§impl Hash for OperationId
impl Hash for OperationId
source§impl Ord for OperationId
impl Ord for OperationId
source§fn cmp(&self, other: &OperationId) -> Ordering
fn cmp(&self, other: &OperationId) -> Ordering
1.21.0 · 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<OperationId> for OperationId
impl PartialEq<OperationId> for OperationId
source§fn eq(&self, other: &OperationId) -> bool
fn eq(&self, other: &OperationId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OperationId> for OperationId
impl PartialOrd<OperationId> for OperationId
source§fn partial_cmp(&self, other: &OperationId) -> Option<Ordering>
fn partial_cmp(&self, other: &OperationId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for OperationId
impl Serialize for OperationId
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for OperationId
impl Eq for OperationId
impl StructuralEq for OperationId
impl StructuralPartialEq for OperationId
Auto Trait Implementations§
impl RefUnwindSafe for OperationId
impl Send for OperationId
impl Sync for OperationId
impl Unpin for OperationId
impl UnwindSafe for OperationId
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.