Struct heroku_rs::endpoints::teams::put::TeamInvitationCreateParams [−][src]
Expand description
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]
impl<'a> Clone for TeamInvitationCreateParams<'a>
[src]fn clone(&self) -> TeamInvitationCreateParams<'a>
[src]
fn clone(&self) -> TeamInvitationCreateParams<'a>
[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<'a> Debug for TeamInvitationCreateParams<'a>
[src]
impl<'a> Debug for TeamInvitationCreateParams<'a>
[src]impl<'a> HerokuEndpoint<TeamInvitation, (), TeamInvitationCreateParams<'a>> for TeamInvitationCreate<'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]
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> 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> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]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