Trait CedarIdentifiable

Source
pub trait CedarIdentifiable {
    const ENTITY_TYPE: EntityTypeName;

    // Required method
    fn entity_id(&self) -> EntityId;

    // Provided method
    fn entity_uid(&self) -> JsonEntityUid { ... }
}

Required Associated Constants§

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CedarIdentifiable for MfaTotpCredentialId

Source§

impl CedarIdentifiable for MfaWebauthnCredentialId

Source§

impl CedarIdentifiable for OrganizationId

Source§

impl CedarIdentifiable for OrganizationInvitationId

Source§

impl CedarIdentifiable for OrganizationMember

Source§

impl CedarIdentifiable for PolicyId

Source§

impl CedarIdentifiable for ProjectId

Source§

impl CedarIdentifiable for RoleId

Source§

impl CedarIdentifiable for ServiceAccountId

Source§

impl CedarIdentifiable for ServiceAccountTokenId

Source§

impl CedarIdentifiable for MagicLinkRequestId

Source§

impl CedarIdentifiable for UserSession

Source§

impl CedarIdentifiable for UserSessionRequestId

Source§

impl CedarIdentifiable for UserSessionTokenId

Source§

impl CedarIdentifiable for NewUserEmailRequestId

Source§

impl CedarIdentifiable for UserEmail

Source§

impl CedarIdentifiable for UserGoogleAccount

Source§

impl CedarIdentifiable for UserId

Implementors§