Enum cedar_policy::PartialResponse
source · pub enum PartialResponse {
Concrete(Response),
Residual(ResidualResponse),
}
Expand description
Authorization response returned from is_authorized_partial
It can either be a full concrete response, or a residual response.
Variants§
Concrete(Response)
A full, concrete response.
Residual(ResidualResponse)
A residual response. Determining the concrete response requires further processing.
Trait Implementations§
source§impl Clone for PartialResponse
impl Clone for PartialResponse
source§fn clone(&self) -> PartialResponse
fn clone(&self) -> PartialResponse
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 PartialResponse
impl Debug for PartialResponse
source§impl PartialEq<PartialResponse> for PartialResponse
impl PartialEq<PartialResponse> for PartialResponse
source§fn eq(&self, other: &PartialResponse) -> bool
fn eq(&self, other: &PartialResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PartialResponse
Auto Trait Implementations§
impl RefUnwindSafe for PartialResponse
impl Send for PartialResponse
impl Sync for PartialResponse
impl Unpin for PartialResponse
impl UnwindSafe for PartialResponse
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