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