Struct zenkit::types::Access[][src]

pub struct Access {
    pub id: Option<ID>,
    pub short_id: Option<ShortId>,
    pub uuid: Option<UUID>,
    pub access_type: AccessType,
    pub user_id: Option<ID>,
    pub workspace_id: Option<ID>,
    pub list_id: Option<ID>,
    pub organization_id: Option<ID>,
    pub role_id: RoleID,
    pub created_at: Option<DateTime<Utc>>,
}

User access type and role

Fields

id: Option<ID>short_id: Option<ShortId>uuid: Option<UUID>access_type: AccessType

scope of access

user_id: Option<ID>workspace_id: Option<ID>list_id: Option<ID>organization_id: Option<ID>role_id: RoleID

Access role

created_at: Option<DateTime<Utc>>

Trait Implementations

impl Debug for Access[src]

impl<'de> Deserialize<'de> for Access[src]

impl Serialize for Access[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.