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 for ActionEntityUID
impl PartialEq for ActionEntityUID
source§impl Serialize for ActionEntityUID
impl Serialize for ActionEntityUID
impl StructuralPartialEq for ActionEntityUID
Auto Trait Implementations§
impl Freeze for ActionEntityUID
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more