pub struct ModifyTeamMemberBody {
pub role: Option<String>,
pub permissions: Option<i32>,
pub payouts_split: Option<i32>,
pub ordering: Option<i32>,
}Fields§
§role: Option<String>§permissions: Option<i32>The user’s permissions in bitfield format In order from first to tenth bit, the bits are: - UPLOAD_VERSION - DELETE_VERSION - EDIT_DETAILS - EDIT_BODY - MANAGE_INVITES - REMOVE_MEMBER - EDIT_MEMBER - DELETE_PROJECT - VIEW_ANALYTICS - VIEW_PAYOUTS
payouts_split: Option<i32>The split of payouts going to this user. The proportion of payouts they get is their split divided by the sum of the splits of all members.
ordering: Option<i32>The order of the team member.
Implementations§
Source§impl ModifyTeamMemberBody
impl ModifyTeamMemberBody
pub fn new() -> ModifyTeamMemberBody
Trait Implementations§
Source§impl Clone for ModifyTeamMemberBody
impl Clone for ModifyTeamMemberBody
Source§fn clone(&self) -> ModifyTeamMemberBody
fn clone(&self) -> ModifyTeamMemberBody
Returns a duplicate of the value. Read more
1.0.0 · 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 ModifyTeamMemberBody
impl Debug for ModifyTeamMemberBody
Source§impl Default for ModifyTeamMemberBody
impl Default for ModifyTeamMemberBody
Source§fn default() -> ModifyTeamMemberBody
fn default() -> ModifyTeamMemberBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModifyTeamMemberBody
impl<'de> Deserialize<'de> for ModifyTeamMemberBody
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
Source§impl PartialEq for ModifyTeamMemberBody
impl PartialEq for ModifyTeamMemberBody
Source§impl Serialize for ModifyTeamMemberBody
impl Serialize for ModifyTeamMemberBody
impl StructuralPartialEq for ModifyTeamMemberBody
Auto Trait Implementations§
impl Freeze for ModifyTeamMemberBody
impl RefUnwindSafe for ModifyTeamMemberBody
impl Send for ModifyTeamMemberBody
impl Sync for ModifyTeamMemberBody
impl Unpin for ModifyTeamMemberBody
impl UnwindSafe for ModifyTeamMemberBody
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