pub struct Auth0Role {
pub id: String,
pub name: String,
}Expand description
A role returned by Auth0’s GET /api/v2/roles endpoint.
Fields§
§id: String§name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Auth0Role
impl<'de> Deserialize<'de> for Auth0Role
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
Auto Trait Implementations§
impl Freeze for Auth0Role
impl RefUnwindSafe for Auth0Role
impl Send for Auth0Role
impl Sync for Auth0Role
impl Unpin for Auth0Role
impl UnsafeUnpin for Auth0Role
impl UnwindSafe for Auth0Role
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