#[non_exhaustive]pub struct DeterminingPolicyItem {
pub policy_id: Option<String>,
}
Expand description
Contains information about one of the policies that determined an authorization decision.
This data type is used as an element in a response parameter for the IsAuthorized and IsAuthorizedWithToken operations.
Example: "determiningPolicies":[{"policyId":"SPEXAMPLEabcdefg111111"}]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.policy_id: Option<String>
The Id of a policy that determined to an authorization decision.
Example: "policyId":"SPEXAMPLEabcdefg111111"
Implementations§
source§impl DeterminingPolicyItem
impl DeterminingPolicyItem
sourcepub fn builder() -> DeterminingPolicyItemBuilder
pub fn builder() -> DeterminingPolicyItemBuilder
Creates a new builder-style object to manufacture DeterminingPolicyItem
.
Trait Implementations§
source§impl Clone for DeterminingPolicyItem
impl Clone for DeterminingPolicyItem
source§fn clone(&self) -> DeterminingPolicyItem
fn clone(&self) -> DeterminingPolicyItem
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 DeterminingPolicyItem
impl Debug for DeterminingPolicyItem
source§impl PartialEq for DeterminingPolicyItem
impl PartialEq for DeterminingPolicyItem
source§fn eq(&self, other: &DeterminingPolicyItem) -> bool
fn eq(&self, other: &DeterminingPolicyItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeterminingPolicyItem
Auto Trait Implementations§
impl RefUnwindSafe for DeterminingPolicyItem
impl Send for DeterminingPolicyItem
impl Sync for DeterminingPolicyItem
impl Unpin for DeterminingPolicyItem
impl UnwindSafe for DeterminingPolicyItem
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