Skip to main content

AuthMember

Trait AuthMember 

Source
pub trait AuthMember:
    Clone
    + Send
    + Sync
    + Serialize
    + Debug
    + 'static {
    // Required methods
    fn id(&self) -> &str;
    fn organization_id(&self) -> &str;
    fn user_id(&self) -> &str;
    fn role(&self) -> &str;
    fn created_at(&self) -> DateTime<Utc>;
}
Expand description

Trait representing an organization member entity.

Required Methods§

Source

fn id(&self) -> &str

Source

fn organization_id(&self) -> &str

Source

fn user_id(&self) -> &str

Source

fn role(&self) -> &str

Source

fn created_at(&self) -> DateTime<Utc>

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.

Implementors§