Struct authzen_opa::OPAQueryResult
source · pub struct OPAQueryResult(pub bool);Tuple Fields§
§0: boolImplementations§
Trait Implementations§
source§impl Clone for OPAQueryResult
impl Clone for OPAQueryResult
source§fn clone(&self) -> OPAQueryResult
fn clone(&self) -> OPAQueryResult
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 OPAQueryResult
impl Debug for OPAQueryResult
source§impl Deref for OPAQueryResult
impl Deref for OPAQueryResult
source§impl DerefMut for OPAQueryResult
impl DerefMut for OPAQueryResult
source§impl<'de> Deserialize<'de> for OPAQueryResult
impl<'de> Deserialize<'de> for OPAQueryResult
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl From<OPAQueryResult> for bool
impl From<OPAQueryResult> for bool
source§fn from(original: OPAQueryResult) -> Self
fn from(original: OPAQueryResult) -> Self
Converts to this type from the input type.
source§impl From<bool> for OPAQueryResult
impl From<bool> for OPAQueryResult
source§fn from(original: bool) -> OPAQueryResult
fn from(original: bool) -> OPAQueryResult
Converts to this type from the input type.
source§impl Ord for OPAQueryResult
impl Ord for OPAQueryResult
source§fn cmp(&self, other: &OPAQueryResult) -> Ordering
fn cmp(&self, other: &OPAQueryResult) -> 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<OPAQueryResult> for OPAQueryResult
impl PartialEq<OPAQueryResult> for OPAQueryResult
source§fn eq(&self, other: &OPAQueryResult) -> bool
fn eq(&self, other: &OPAQueryResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<OPAQueryResult> for bool
impl PartialEq<OPAQueryResult> for bool
source§fn eq(&self, rhs: &OPAQueryResult) -> bool
fn eq(&self, rhs: &OPAQueryResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<bool> for OPAQueryResult
impl PartialEq<bool> for OPAQueryResult
source§impl PartialOrd<OPAQueryResult> for OPAQueryResult
impl PartialOrd<OPAQueryResult> for OPAQueryResult
source§fn partial_cmp(&self, other: &OPAQueryResult) -> Option<Ordering>
fn partial_cmp(&self, other: &OPAQueryResult) -> 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 OPAQueryResult
impl Serialize for OPAQueryResult
impl Copy for OPAQueryResult
impl Eq for OPAQueryResult
impl StructuralEq for OPAQueryResult
impl StructuralPartialEq for OPAQueryResult
Auto Trait Implementations§
impl RefUnwindSafe for OPAQueryResult
impl Send for OPAQueryResult
impl Sync for OPAQueryResult
impl Unpin for OPAQueryResult
impl UnwindSafe for OPAQueryResult
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.