pub struct ProjectCollaboratorPermission {
pub permission: String,
pub user: Option<Box<NullableSimpleUser>>,
}
Expand description
ProjectCollaboratorPermission : Project Collaborator Permission
Fields§
§permission: String
§user: Option<Box<NullableSimpleUser>>
Implementations§
Source§impl ProjectCollaboratorPermission
impl ProjectCollaboratorPermission
Sourcepub fn new(
permission: String,
user: Option<NullableSimpleUser>,
) -> ProjectCollaboratorPermission
pub fn new( permission: String, user: Option<NullableSimpleUser>, ) -> ProjectCollaboratorPermission
Project Collaborator Permission
Trait Implementations§
Source§impl Clone for ProjectCollaboratorPermission
impl Clone for ProjectCollaboratorPermission
Source§fn clone(&self) -> ProjectCollaboratorPermission
fn clone(&self) -> ProjectCollaboratorPermission
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 Default for ProjectCollaboratorPermission
impl Default for ProjectCollaboratorPermission
Source§fn default() -> ProjectCollaboratorPermission
fn default() -> ProjectCollaboratorPermission
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectCollaboratorPermission
impl<'de> Deserialize<'de> for ProjectCollaboratorPermission
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 ProjectCollaboratorPermission
impl PartialEq for ProjectCollaboratorPermission
Source§fn eq(&self, other: &ProjectCollaboratorPermission) -> bool
fn eq(&self, other: &ProjectCollaboratorPermission) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProjectCollaboratorPermission
Auto Trait Implementations§
impl Freeze for ProjectCollaboratorPermission
impl RefUnwindSafe for ProjectCollaboratorPermission
impl Send for ProjectCollaboratorPermission
impl Sync for ProjectCollaboratorPermission
impl Unpin for ProjectCollaboratorPermission
impl UnwindSafe for ProjectCollaboratorPermission
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