pub struct CreateProjectMemberInviteBody {
pub invitee_email: String,
pub role: Option<RoleEnum>,
}Expand description
CreateProjectMemberInviteBody : Create Project MemberInvite Request Body
Fields§
§invitee_email: StringThe email address to invite.
role: Option<RoleEnum>The role the invited member will hold. Defaults to developer if omitted. Only developer and viewer are valid; project ownership cannot be assigned via invite. developer ProjectMemberRoleDeveloper viewer ProjectMemberRoleViewer
Implementations§
Source§impl CreateProjectMemberInviteBody
impl CreateProjectMemberInviteBody
Sourcepub fn new(invitee_email: String) -> CreateProjectMemberInviteBody
pub fn new(invitee_email: String) -> CreateProjectMemberInviteBody
Create Project MemberInvite Request Body
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateProjectMemberInviteBody
impl<'de> Deserialize<'de> for CreateProjectMemberInviteBody
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
impl StructuralPartialEq for CreateProjectMemberInviteBody
Auto Trait Implementations§
impl Forget for CreateProjectMemberInviteBody
impl Freeze for CreateProjectMemberInviteBody
impl Move for CreateProjectMemberInviteBody
impl RefUnwindSafe for CreateProjectMemberInviteBody
impl Send for CreateProjectMemberInviteBody
impl Sync for CreateProjectMemberInviteBody
impl Unpin for CreateProjectMemberInviteBody
impl UnsafeUnpin for CreateProjectMemberInviteBody
impl UnwindSafe for CreateProjectMemberInviteBody
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