Struct cedar_policy_validator::ActionEntityUID
source · pub struct ActionEntityUID {
pub id: SmolStr,
pub ty: Option<SmolStr>,
}
Fields§
§id: SmolStr
§ty: Option<SmolStr>
Implementations§
source§impl ActionEntityUID
impl ActionEntityUID
pub fn default_type(id: SmolStr) -> Self
Trait Implementations§
source§impl Clone for ActionEntityUID
impl Clone for ActionEntityUID
source§fn clone(&self) -> ActionEntityUID
fn clone(&self) -> ActionEntityUID
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 ActionEntityUID
impl Debug for ActionEntityUID
source§impl<'de> Deserialize<'de> for ActionEntityUID
impl<'de> Deserialize<'de> for ActionEntityUID
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 Display for ActionEntityUID
impl Display for ActionEntityUID
source§impl PartialEq<ActionEntityUID> for ActionEntityUID
impl PartialEq<ActionEntityUID> for ActionEntityUID
source§fn eq(&self, other: &ActionEntityUID) -> bool
fn eq(&self, other: &ActionEntityUID) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActionEntityUID
impl Serialize for ActionEntityUID
impl StructuralPartialEq for ActionEntityUID
Auto Trait Implementations§
impl RefUnwindSafe for ActionEntityUID
impl Send for ActionEntityUID
impl Sync for ActionEntityUID
impl Unpin for ActionEntityUID
impl UnwindSafe for ActionEntityUID
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