pub enum Role {
RoleUnspecified,
RoleViewer,
RoleAdmin,
RoleTech,
}Expand description
Role : What a teammate can do in a workspace. - ROLE_UNSPECIFIED: Not set. - ROLE_VIEWER: Reads links, analytics and settings, and changes nothing. - ROLE_ADMIN: Manages links, members, settings and billing. - ROLE_TECH: Reserved for Linkbreakers staff. It cannot be given through the API. What a teammate can do in a workspace. - ROLE_UNSPECIFIED: Not set. - ROLE_VIEWER: Reads links, analytics and settings, and changes nothing. - ROLE_ADMIN: Manages links, members, settings and billing. - ROLE_TECH: Reserved for Linkbreakers staff. It cannot be given through the API.
Variants§
Trait Implementations§
impl Copy for Role
Source§impl<'de> Deserialize<'de> for Role
impl<'de> Deserialize<'de> for Role
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
impl Eq for Role
Source§impl Ord for Role
impl Ord for Role
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Role
impl PartialOrd for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Forget for Role
impl Freeze for Role
impl Move for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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