pub struct Actor {Show 16 fields
pub id: u64,
pub login: String,
pub gravatar_id: String,
pub avatar_url: String,
pub url: String,
pub html_url: Option<String>,
pub followers_url: Option<String>,
pub following_url: Option<String>,
pub gists_url: Option<String>,
pub starred_url: Option<String>,
pub subscriptions_url: Option<String>,
pub organizations_url: Option<String>,
pub repos_url: Option<String>,
pub events_url: Option<String>,
pub received_events_url: Option<String>,
pub site_admin: Option<bool>,
}
Expand description
Actor
contains all info on the user generating the event.
Fields§
§id: u64
§login: String
§gravatar_id: String
§avatar_url: String
§url: String
§html_url: Option<String>
§followers_url: Option<String>
§following_url: Option<String>
§gists_url: Option<String>
§starred_url: Option<String>
§subscriptions_url: Option<String>
§organizations_url: Option<String>
§repos_url: Option<String>
§events_url: Option<String>
§received_events_url: Option<String>
§site_admin: Option<bool>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Actor
impl RefUnwindSafe for Actor
impl Send for Actor
impl Sync for Actor
impl Unpin for Actor
impl UnwindSafe for Actor
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