pub struct UpdateProjectMemberRequest {
pub role: Option<String>,
pub environments: Option<Vec<String>>,
}Expand description
UpdateProjectMemberRequest
Fields§
§role: Option<String>Identifier of the project role
environments: Option<Vec<String>>Environment slugs to grant the member access to
Implementations§
Source§impl UpdateProjectMemberRequest
impl UpdateProjectMemberRequest
pub fn new() -> UpdateProjectMemberRequest
Trait Implementations§
Source§impl Clone for UpdateProjectMemberRequest
impl Clone for UpdateProjectMemberRequest
Source§fn clone(&self) -> UpdateProjectMemberRequest
fn clone(&self) -> UpdateProjectMemberRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateProjectMemberRequest
impl Debug for UpdateProjectMemberRequest
Source§impl Default for UpdateProjectMemberRequest
impl Default for UpdateProjectMemberRequest
Source§fn default() -> UpdateProjectMemberRequest
fn default() -> UpdateProjectMemberRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateProjectMemberRequest
impl<'de> Deserialize<'de> for UpdateProjectMemberRequest
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 UpdateProjectMemberRequest
Auto Trait Implementations§
impl Freeze for UpdateProjectMemberRequest
impl RefUnwindSafe for UpdateProjectMemberRequest
impl Send for UpdateProjectMemberRequest
impl Sync for UpdateProjectMemberRequest
impl Unpin for UpdateProjectMemberRequest
impl UnsafeUnpin for UpdateProjectMemberRequest
impl UnwindSafe for UpdateProjectMemberRequest
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