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: boolWhether the user is active.
avatar_url: StringURL to the user’s avatar.
created: StringDate the user was created at.
description: StringDescription of the user (empty string if the user did not provide a discription).
email: StringEmail of the user.
followers_count: i64Number of followers the user has.
following_count: i64Number of users the user is following.
full_name: StringFull name of the user.
id: i64ID of the user.
is_admin: boolWhether the user is an admin.
language: StringLanguage the user speaks (empty string if the user did not specify any languaged).
last_login: StringDate the user last logged in.
location: StringLocation of the user (empty string if the user did not provide a location).
login: StringThe user’s username
login_name: StringThe user’s authenticated sign-in name. Empty by default.
prohibit_login: boolWhether the user is prohibited from logging in.
pronouns: StringPronouns of the user (empty string if the user did not provide any pronouns).
restricted: boolWhether the user is restricted.
starred_repos_count: i64Number of repositories the user has starred.
visibility: StringUser visibility. Can be one of “public”, “limited”, or “private”.
website: StringThe user’s website (empty string if the user did not provide a website).