#[non_exhaustive]pub struct User {Show 20 fields
pub id: String,
pub username: String,
pub display_name: String,
pub full_name: Option<String>,
pub email: Option<String>,
pub photo: Option<String>,
pub timezone: String,
pub website: Option<String>,
pub human_readable_website: Option<String>,
pub location: Option<String>,
pub plan: Option<String>,
pub profile_url: Option<String>,
pub is_email_confirmed: bool,
pub is_hireable: Option<bool>,
pub logged_time_public: Option<bool>,
pub writes_only: bool,
pub timeout: Option<u32>,
pub time_format_24hr: Option<bool>,
pub created_at: String,
pub modified_at: Option<String>,
}Expand description
A WakaTime user account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringUnique user identifier (UUID).
username: StringThe user’s login handle.
display_name: StringHuman-readable display name.
full_name: Option<String>Full legal name (may be None if not set).
email: Option<String>Email address (only present when the authenticated user requests their own profile).
photo: Option<String>URL of the user’s avatar image.
timezone: StringIANA timezone string (e.g. "America/New_York").
website: Option<String>Personal website URL.
human_readable_website: Option<String>Human-readable website URL (without protocol prefix).
location: Option<String>Geographic location string.
plan: Option<String>Subscription plan (e.g. "free", "premium").
profile_url: Option<String>Absolute URL of the user’s public profile.
is_email_confirmed: boolWhether the user’s email address has been verified.
is_hireable: Option<bool>Whether the user is open to work.
logged_time_public: Option<bool>Whether coding time is visible on the public profile.
writes_only: boolWhether this account is in write-only mode.
timeout: Option<u32>Heartbeat timeout in minutes.
time_format_24hr: Option<bool>Whether the user prefers 24-hour time format.
created_at: StringISO 8601 timestamp when the account was created.
modified_at: Option<String>ISO 8601 timestamp when the account was last modified.