[−][src]Struct heroku_rs::endpoints::teams::put::TeamInvitationCreateParams
Create a new team invitation with parameters
role parameter is nullable, meaning, if you pass (None), it will be sent as null
to the Heroku API
See Heroku documentation for more information about these paramters
Fields
email: &'a str
unique email address
role: Option<&'a str>
Even though marked with Option
, this parameter is NOT optional.
role in the team
one of:"admin" or "collaborator" or "member" or "owner" or null. [Nullable]
Trait Implementations
impl<'a> Clone for TeamInvitationCreateParams<'a>
[src]
fn clone(&self) -> TeamInvitationCreateParams<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for TeamInvitationCreateParams<'a>
[src]
impl<'a> HerokuEndpoint<TeamInvitation, (), TeamInvitationCreateParams<'a>> for TeamInvitationCreate<'a>
[src]
fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<TeamInvitationCreateParams<'a>>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &ApiEnvironment) -> Url
[src]
fn content_type(&self) -> &str
[src]
fn version(&self) -> &str
[src]
fn agent(&self) -> &str
[src]
impl<'a> Serialize for TeamInvitationCreateParams<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for TeamInvitationCreateParams<'a>
impl<'a> Send for TeamInvitationCreateParams<'a>
impl<'a> Sync for TeamInvitationCreateParams<'a>
impl<'a> Unpin for TeamInvitationCreateParams<'a>
impl<'a> UnwindSafe for TeamInvitationCreateParams<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,