pub struct User {Show 21 fields
pub active: bool,
pub avatar_url: String,
pub created: String,
pub description: String,
pub email: String,
pub followers_count: i64,
pub following_count: i64,
pub full_name: String,
pub id: i64,
pub is_admin: bool,
pub language: String,
pub last_login: String,
pub location: String,
pub login: String,
pub login_name: String,
pub prohibit_login: bool,
pub pronouns: String,
pub restricted: bool,
pub starred_repos_count: i64,
pub visibility: String,
pub website: String,
}
Expand description
Represents a Gitea user.
Fields§
§active: bool
Whether the user is active.
avatar_url: String
URL to the user’s avatar.
created: String
Date the user was created at.
description: String
Description of the user (empty string if the user did not provide a discription).
email: String
Email of the user.
followers_count: i64
Number of followers the user has.
following_count: i64
Number of users the user is following.
full_name: String
Full name of the user.
id: i64
ID of the user.
is_admin: bool
Whether the user is an admin.
language: String
Language the user speaks (empty string if the user did not specify any languaged).
last_login: String
Date the user last logged in.
location: String
Location of the user (empty string if the user did not provide a location).
login: String
The user’s username
login_name: String
The user’s authenticated sign-in name. Empty by default.
prohibit_login: bool
Whether the user is prohibited from logging in.
pronouns: String
Pronouns of the user (empty string if the user did not provide any pronouns).
restricted: bool
Whether the user is restricted.
starred_repos_count: i64
Number of repositories the user has starred.
visibility: String
User visibility. Can be one of “public”, “limited”, or “private”.
website: String
The user’s website (empty string if the user did not provide a website).