pub struct Me {
pub login: String,
pub admin: bool,
pub limits: Option<UserLimits>,
}Expand description
The user signed in: GET /api/me.
Fields§
§login: StringTheir GitHub login.
admin: boolWhether they see everyone’s sandboxes, and the runners.
limits: Option<UserLimits>What they may use; None for an admin, who has no limits.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Me
impl<'de> Deserialize<'de> for Me
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
impl Eq for Me
impl StructuralPartialEq for Me
Auto Trait Implementations§
impl Forget for Me
impl Freeze for Me
impl RefUnwindSafe for Me
impl Send for Me
impl Sync for Me
impl Unpin for Me
impl UnsafeUnpin for Me
impl UnwindSafe for Me
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