pub struct PolicyResolutionDecision {
pub allow: bool,
pub enforcement_mode: String,
pub required_scopes: Vec<String>,
pub policy_inputs: Vec<String>,
pub required_actions: Vec<String>,
}Fields§
§allow: bool§enforcement_mode: String§required_scopes: Vec<String>§policy_inputs: Vec<String>§required_actions: Vec<String>Trait Implementations§
Source§impl Clone for PolicyResolutionDecision
impl Clone for PolicyResolutionDecision
Source§fn clone(&self) -> PolicyResolutionDecision
fn clone(&self) -> PolicyResolutionDecision
Returns a duplicate 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 PolicyResolutionDecision
impl Debug for PolicyResolutionDecision
Source§impl<'de> Deserialize<'de> for PolicyResolutionDecision
impl<'de> Deserialize<'de> for PolicyResolutionDecision
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 for PolicyResolutionDecision
impl PartialEq for PolicyResolutionDecision
Source§impl Serialize for PolicyResolutionDecision
impl Serialize for PolicyResolutionDecision
impl Eq for PolicyResolutionDecision
impl StructuralPartialEq for PolicyResolutionDecision
Auto Trait Implementations§
impl Freeze for PolicyResolutionDecision
impl RefUnwindSafe for PolicyResolutionDecision
impl Send for PolicyResolutionDecision
impl Sync for PolicyResolutionDecision
impl Unpin for PolicyResolutionDecision
impl UnsafeUnpin for PolicyResolutionDecision
impl UnwindSafe for PolicyResolutionDecision
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