Struct cedar_policy::frontend::is_authorized::InterfaceResponse
source · pub struct InterfaceResponse { /* private fields */ }
Expand description
Interface version of a Response
that uses InterfaceDiagnostics
for simpler (de)serialization
Implementations§
Trait Implementations§
source§impl Debug for InterfaceResponse
impl Debug for InterfaceResponse
source§impl<'de> Deserialize<'de> for InterfaceResponse
impl<'de> Deserialize<'de> for InterfaceResponse
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 From<Response> for InterfaceResponse
impl From<Response> for InterfaceResponse
source§impl PartialEq for InterfaceResponse
impl PartialEq for InterfaceResponse
source§fn eq(&self, other: &InterfaceResponse) -> bool
fn eq(&self, other: &InterfaceResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InterfaceResponse
impl Serialize for InterfaceResponse
source§impl TryFrom<PartialResponse> for InterfaceResponse
Available on crate feature partial-eval
only.
impl TryFrom<PartialResponse> for InterfaceResponse
Available on crate feature
partial-eval
only.impl Eq for InterfaceResponse
impl StructuralPartialEq for InterfaceResponse
Auto Trait Implementations§
impl Freeze for InterfaceResponse
impl RefUnwindSafe for InterfaceResponse
impl Send for InterfaceResponse
impl Sync for InterfaceResponse
impl Unpin for InterfaceResponse
impl UnwindSafe for InterfaceResponse
Blanket Implementations§
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.