Struct roctogen::models::PostOrgsCreateInvitation [−][src]
pub struct PostOrgsCreateInvitation { pub invitee_id: Option<i64>, pub email: Option<String>, pub role: Option<String>, pub team_ids: Option<Vec<i32>>, }
Fields
invitee_id: Option<i64>
Expand description
Required unless you provide email
. GitHub user ID for the person you are inviting.
email: Option<String>
Expand description
Required unless you provide invitee_id
. Email address of the person you are inviting, which can be an existing GitHub user.
role: Option<String>
Expand description
Specify role for new member. Can be one of: \* admin
- Organization owners with full administrative rights to the organization and complete access to all repositories and teams. \* direct_member
- Non-owner organization members with ability to see other members and join teams by invitation. \* billing_manager
- Non-owner organization members with ability to manage the billing settings of your organization.
team_ids: Option<Vec<i32>>
Expand description
Specify IDs for the teams you want to invite new members to.
Trait Implementations
impl Clone for PostOrgsCreateInvitation
[src]
impl Clone for PostOrgsCreateInvitation
[src]fn clone(&self) -> PostOrgsCreateInvitation
[src]
fn clone(&self) -> PostOrgsCreateInvitation
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PostOrgsCreateInvitation
[src]
impl Debug for PostOrgsCreateInvitation
[src]impl Default for PostOrgsCreateInvitation
[src]
impl Default for PostOrgsCreateInvitation
[src]fn default() -> PostOrgsCreateInvitation
[src]
fn default() -> PostOrgsCreateInvitation
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for PostOrgsCreateInvitation
[src]
impl<'de> Deserialize<'de> for PostOrgsCreateInvitation
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PostOrgsCreateInvitation> for PostOrgsCreateInvitation
[src]
impl PartialEq<PostOrgsCreateInvitation> for PostOrgsCreateInvitation
[src]fn eq(&self, other: &PostOrgsCreateInvitation) -> bool
[src]
fn eq(&self, other: &PostOrgsCreateInvitation) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PostOrgsCreateInvitation) -> bool
[src]
fn ne(&self, other: &PostOrgsCreateInvitation) -> bool
[src]This method tests for !=
.
impl Serialize for PostOrgsCreateInvitation
[src]
impl Serialize for PostOrgsCreateInvitation
[src]impl StructuralPartialEq for PostOrgsCreateInvitation
[src]
Auto Trait Implementations
impl RefUnwindSafe for PostOrgsCreateInvitation
impl Send for PostOrgsCreateInvitation
impl Sync for PostOrgsCreateInvitation
impl Unpin for PostOrgsCreateInvitation
impl UnwindSafe for PostOrgsCreateInvitation
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,