pub struct AccountRole {
pub email: String,
pub role: ProjectRole,
}Fields§
§email: String§role: ProjectRoleTrait Implementations§
Source§impl Clone for AccountRole
impl Clone for AccountRole
Source§fn clone(&self) -> AccountRole
fn clone(&self) -> AccountRole
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountRole
impl Debug for AccountRole
Source§impl Default for AccountRole
impl Default for AccountRole
Source§fn default() -> AccountRole
fn default() -> AccountRole
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountRole
impl<'de> Deserialize<'de> for AccountRole
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 AccountRole
impl RefUnwindSafe for AccountRole
impl Send for AccountRole
impl Sync for AccountRole
impl Unpin for AccountRole
impl UnwindSafe for AccountRole
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