pub struct ProjectGrant {
pub user_id: String,
pub access: ProjectGrantAccess,
}Expand description
One person’s access to a private project.
Fields§
§user_id: String§access: ProjectGrantAccessview opens the chats and the brief; edit also rewrites them.
Trait Implementations§
Source§impl Clone for ProjectGrant
impl Clone for ProjectGrant
Source§fn clone(&self) -> ProjectGrant
fn clone(&self) -> ProjectGrant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProjectGrant
impl Debug for ProjectGrant
Source§impl Default for ProjectGrant
impl Default for ProjectGrant
Source§fn default() -> ProjectGrant
fn default() -> ProjectGrant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectGrant
impl<'de> Deserialize<'de> for ProjectGrant
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
Source§impl PartialEq for ProjectGrant
impl PartialEq for ProjectGrant
Source§impl Serialize for ProjectGrant
impl Serialize for ProjectGrant
impl StructuralPartialEq for ProjectGrant
Auto Trait Implementations§
impl Freeze for ProjectGrant
impl RefUnwindSafe for ProjectGrant
impl Send for ProjectGrant
impl Sync for ProjectGrant
impl Unpin for ProjectGrant
impl UnsafeUnpin for ProjectGrant
impl UnwindSafe for ProjectGrant
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