pub struct Collaborator {Show 19 fields
pub avatar_url: String,
pub bio: Option<String>,
pub email: Option<String>,
pub followers_url: Option<String>,
pub following_url: Option<String>,
pub full_name: Option<String>,
pub html_url: String,
pub id: f64,
pub login: String,
pub name: Option<String>,
pub organizations_url: Option<String>,
pub permissions: Permissions,
pub repos_url: Option<String>,
pub site_admin: bool,
pub starred_url: Option<String>,
pub subscriptions_url: Option<String>,
pub type: String,
pub url: Option<String>,
pub website: Option<String>,
}Fields§
§avatar_url: StringСсылка на аватар
bio: Option<String>О себе
email: Option<String>Почта
followers_url: Option<String>Url для получения подписчиков пользователя
following_url: Option<String>Url для получения подписок пользователя
full_name: Option<String>Полное имя
html_url: StringСсылка на профиль в веб-интерфейсе
id: f64Уникальный идентификатор
login: StringЛогин пользователя
name: Option<String>Имя пользователя
organizations_url: Option<String>Url для получения организаций пользователя
permissions: PermissionsПрава доступа к репозиторию
repos_url: Option<String>Url для получения репозиториев пользователя
site_admin: boolЯвляется ли пользователь администратором платформы
starred_url: Option<String>Url для получения репозиториев пользователя, которые были добавлены в избранное
subscriptions_url: Option<String>Url для получения подписок пользователя
type: StringТип аккаунта (User или Organization)
url: Option<String>Url для получения пользователя
website: Option<String>Вебсайт
Trait Implementations§
Source§impl Clone for Collaborator
impl Clone for Collaborator
Source§fn clone(&self) -> Collaborator
fn clone(&self) -> Collaborator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Collaborator
impl Debug for Collaborator
Source§impl<'de> Deserialize<'de> for Collaborator
impl<'de> Deserialize<'de> for Collaborator
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
Auto Trait Implementations§
impl Freeze for Collaborator
impl RefUnwindSafe for Collaborator
impl Send for Collaborator
impl Sync for Collaborator
impl Unpin for Collaborator
impl UnsafeUnpin for Collaborator
impl UnwindSafe for Collaborator
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