pub struct AddCollaboratorOption {
pub permission: Option<String>,
}
Expand description
AddCollaboratorOption : AddCollaboratorOption options when adding a user as a collaborator of a repository
Fields§
§permission: Option<String>
Implementations§
Source§impl AddCollaboratorOption
impl AddCollaboratorOption
Sourcepub fn new() -> AddCollaboratorOption
pub fn new() -> AddCollaboratorOption
AddCollaboratorOption options when adding a user as a collaborator of a repository
Trait Implementations§
Source§impl Clone for AddCollaboratorOption
impl Clone for AddCollaboratorOption
Source§fn clone(&self) -> AddCollaboratorOption
fn clone(&self) -> AddCollaboratorOption
Returns a copy 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 AddCollaboratorOption
impl Debug for AddCollaboratorOption
Source§impl Default for AddCollaboratorOption
impl Default for AddCollaboratorOption
Source§fn default() -> AddCollaboratorOption
fn default() -> AddCollaboratorOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddCollaboratorOption
impl<'de> Deserialize<'de> for AddCollaboratorOption
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 AddCollaboratorOption
impl PartialEq for AddCollaboratorOption
Source§impl Serialize for AddCollaboratorOption
impl Serialize for AddCollaboratorOption
impl StructuralPartialEq for AddCollaboratorOption
Auto Trait Implementations§
impl Freeze for AddCollaboratorOption
impl RefUnwindSafe for AddCollaboratorOption
impl Send for AddCollaboratorOption
impl Sync for AddCollaboratorOption
impl Unpin for AddCollaboratorOption
impl UnwindSafe for AddCollaboratorOption
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