Struct cedar_policy::EntityAttrEvaluationError
source · pub struct EntityAttrEvaluationError {
pub uid: EntityUid,
pub attr: SmolStr,
pub err: EvaluationError,
}
Expand description
Error when evaluating an entity attribute
Fields§
§uid: EntityUid
Action that had the attribute with the error
attr: SmolStr
Attribute that had the error
err: EvaluationError
Underlying evaluation error
Trait Implementations§
source§impl Debug for EntityAttrEvaluationError
impl Debug for EntityAttrEvaluationError
source§impl Display for EntityAttrEvaluationError
impl Display for EntityAttrEvaluationError
source§impl Error for EntityAttrEvaluationError
impl Error for EntityAttrEvaluationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<EntityAttrEvaluationError> for EntityAttrEvaluationError
impl From<EntityAttrEvaluationError> for EntityAttrEvaluationError
source§fn from(err: EntityAttrEvaluationError) -> Self
fn from(err: EntityAttrEvaluationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EntityAttrEvaluationError
impl Send for EntityAttrEvaluationError
impl Sync for EntityAttrEvaluationError
impl Unpin for EntityAttrEvaluationError
impl UnwindSafe for EntityAttrEvaluationError
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