pub struct InviteRequest {
pub email: String,
pub projects: Option<Vec<InviteRequestProjects>>,
pub role: String,
}
Fields§
§email: String
Send an email to this address
projects: Option<Vec<InviteRequestProjects>>
An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior.
role: String
owner
or reader
Trait Implementations§
Source§impl Debug for InviteRequest
impl Debug for InviteRequest
Source§impl<'de> Deserialize<'de> for InviteRequest
impl<'de> Deserialize<'de> for InviteRequest
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
Auto Trait Implementations§
impl Freeze for InviteRequest
impl RefUnwindSafe for InviteRequest
impl Send for InviteRequest
impl Sync for InviteRequest
impl Unpin for InviteRequest
impl UnwindSafe for InviteRequest
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