pub struct RoleActor {
pub id: Option<i64>,
pub display_name: Option<String>,
pub type: Option<Type>,
pub name: Option<String>,
pub avatar_url: Option<String>,
pub actor_user: Option<Box<ProjectRoleUser>>,
pub actor_group: Option<Box<ProjectRoleGroup>>,
}
Expand description
RoleActor : Details about a user assigned to a project role.
Fields§
§id: Option<i64>
The ID of the role actor.
display_name: Option<String>
The display name of the role actor. For users, depending on the user’s privacy setting, this may return an alternative value for the user’s name.
type: Option<Type>
The type of role actor.
name: Option<String>
This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details.
avatar_url: Option<String>
The avatar of the role actor.
actor_user: Option<Box<ProjectRoleUser>>
§actor_group: Option<Box<ProjectRoleGroup>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RoleActor
impl<'de> Deserialize<'de> for RoleActor
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 RoleActor
Auto Trait Implementations§
impl Freeze for RoleActor
impl RefUnwindSafe for RoleActor
impl Send for RoleActor
impl Sync for RoleActor
impl Unpin for RoleActor
impl UnwindSafe for RoleActor
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