pub struct Team {
pub team_id: TeamId,
pub tenant_id: TenantId,
pub name: String,
pub description: Option<String>,
pub created_at: Timestamp,
pub updated_at: Timestamp,
}Expand description
A team within a tenant for group-based access control.
Fields§
§team_id: TeamIdTeam ID
tenant_id: TenantIdTenant this team belongs to
name: StringTeam name (unique within tenant)
description: Option<String>Optional description
created_at: TimestampWhen the team was created
updated_at: TimestampWhen the team was last updated
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Team
impl<'de> Deserialize<'de> for Team
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 Team
Auto Trait Implementations§
impl Freeze for Team
impl RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl UnwindSafe for Team
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