Struct github_ureq::types::User
source · [−]pub struct User { /* private fields */ }Implementations
sourceimpl User
impl User
pub fn login(&self) -> &String
pub fn id(&self) -> &usize
pub fn node_id(&self) -> &String
pub fn avatar_url(&self) -> &String
pub fn gravatar_id(&self) -> &String
pub fn url(&self) -> &String
pub fn html_url(&self) -> &String
pub fn followers_url(&self) -> &String
pub fn following_url(&self) -> &String
pub fn gists_url(&self) -> &String
pub fn starred_url(&self) -> &String
pub fn subscriptions_url(&self) -> &String
pub fn organizations_url(&self) -> &String
pub fn repos_url(&self) -> &String
pub fn events_url(&self) -> &String
pub fn received_events_url(&self) -> &String
pub fn user_type(&self) -> &String
pub fn site_admin(&self) -> &bool
Trait Implementations
sourceimpl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
sourcefn 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 RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more