pub struct ProjectRoleActorsUpdateBean {
pub id: Option<i64>,
pub categorised_actors: Option<HashMap<String, Vec<String>>>,
}
Fields§
§id: Option<i64>
The ID of the project role. Use Get all project roles to get a list of project role IDs.
categorised_actors: Option<HashMap<String, Vec<String>>>
The actors to add to the project role. Add groups using atlassian-group-role-actor
and a list of group names. For example, \"atlassian-group-role-actor\":[\"another\",\"administrators\"]}
. Add users using atlassian-user-role-actor
and a list of account IDs. For example, \"atlassian-user-role-actor\":[\"12345678-9abc-def1-2345-6789abcdef12\", \"abcdef12-3456-789a-bcde-f123456789ab\"]
.
Implementations§
Source§impl ProjectRoleActorsUpdateBean
impl ProjectRoleActorsUpdateBean
pub fn new() -> ProjectRoleActorsUpdateBean
Trait Implementations§
Source§impl Clone for ProjectRoleActorsUpdateBean
impl Clone for ProjectRoleActorsUpdateBean
Source§fn clone(&self) -> ProjectRoleActorsUpdateBean
fn clone(&self) -> ProjectRoleActorsUpdateBean
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 ProjectRoleActorsUpdateBean
impl Debug for ProjectRoleActorsUpdateBean
Source§impl Default for ProjectRoleActorsUpdateBean
impl Default for ProjectRoleActorsUpdateBean
Source§fn default() -> ProjectRoleActorsUpdateBean
fn default() -> ProjectRoleActorsUpdateBean
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectRoleActorsUpdateBean
impl<'de> Deserialize<'de> for ProjectRoleActorsUpdateBean
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 ProjectRoleActorsUpdateBean
Auto Trait Implementations§
impl Freeze for ProjectRoleActorsUpdateBean
impl RefUnwindSafe for ProjectRoleActorsUpdateBean
impl Send for ProjectRoleActorsUpdateBean
impl Sync for ProjectRoleActorsUpdateBean
impl Unpin for ProjectRoleActorsUpdateBean
impl UnwindSafe for ProjectRoleActorsUpdateBean
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