Struct cedar_policy_core::ast::SlotId
source · pub struct SlotId(_);
Expand description
Identifier for a slot Clone is O(1).
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SlotId
impl<'de> Deserialize<'de> for SlotId
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 From<PrincipalOrResource> for SlotId
impl From<PrincipalOrResource> for SlotId
source§fn from(v: PrincipalOrResource) -> Self
fn from(v: PrincipalOrResource) -> Self
Converts to this type from the input type.
source§impl Ord for SlotId
impl Ord for SlotId
source§impl PartialEq<SlotId> for SlotId
impl PartialEq<SlotId> for SlotId
source§impl PartialOrd<SlotId> for SlotId
impl PartialOrd<SlotId> for SlotId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SlotId
impl Eq for SlotId
impl StructuralEq for SlotId
impl StructuralPartialEq for SlotId
Auto Trait Implementations§
impl RefUnwindSafe for SlotId
impl Send for SlotId
impl Sync for SlotId
impl Unpin for SlotId
impl UnwindSafe for SlotId
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