pub struct User {
pub id: String,
pub email: String,
pub password_hash: String,
pub display_name: String,
pub capacity_points: Option<i64>,
pub wip_limit: Option<i64>,
pub created_at: DateTime<Utc>,
}Fields§
§id: String§email: String§password_hash: String§display_name: String§capacity_points: Option<i64>Optional global capacity in story points. None means “not
set, do not show a workload warning for this user” — opt-in
rather than enforced. Mirrors the same pattern as
Issue::effort: estimation is gradual.
When period-scoped capacities land in a future release, this
field migrates to a user_capacities table; see migration
0004_user_capacity.sql for the planned shape.
wip_limit: Option<i64>Optional personal WIP limit (count of in-progress issues).
None means use the project-level default, or fall back to
personal_metrics::DEFAULT_WIP_LIMIT. Distinct from
capacity_points — see migration
0005_personal_limits.sql for the rationale.
created_at: DateTime<Utc>Trait Implementations§
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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