pub struct TeamMembership {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub user: Option<Box<User>>,
pub team: Option<Box<Team>>,
pub owner: Option<bool>,
pub sort_order: Option<f64>,
}Expand description
A join entity that defines a user’s membership in a team. Each membership record links a user to a team and tracks whether the user is a team owner. Users can be members of multiple teams, and their memberships determine which teams’ issues and resources they can access.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
user: Option<Box<User>>The user that the membership is associated with.
team: Option<Box<Team>>The team that the membership is associated with.
owner: Option<bool>Whether the user is an owner of the team. Team owners have elevated permissions for managing team settings, members, and resources.
sort_order: Option<f64>The sort order of this team in the user’s personal team list. Lower values appear first.
Trait Implementations§
Source§impl Clone for TeamMembership
impl Clone for TeamMembership
Source§fn clone(&self) -> TeamMembership
fn clone(&self) -> TeamMembership
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more