Struct roctogen::endpoints::users::UsersGetContextForUserParams [−][src]
pub struct UsersGetContextForUserParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the Get contextual information for a user endpoint.
Implementations
impl<'req> UsersGetContextForUserParams<'req>
[src]
impl<'req> UsersGetContextForUserParams<'req>
[src]pub fn new() -> Self
[src]
pub fn subject_type(self, subject_type: &'req str) -> Self
[src]
pub fn subject_type(self, subject_type: &'req str) -> Self
[src]Identifies which additional information you’d like to receive about the person’s hovercard. Can be organization
, repository
, issue
, pull_request
. Required when using subject_id
.
pub fn subject_id(self, subject_id: &'req str) -> Self
[src]
pub fn subject_id(self, subject_id: &'req str) -> Self
[src]Uses the ID for the subject_type
you specified. Required when using subject_type
.
Trait Implementations
impl<'req> Default for UsersGetContextForUserParams<'req>
[src]
impl<'req> Default for UsersGetContextForUserParams<'req>
[src]fn default() -> UsersGetContextForUserParams<'req>
[src]
fn default() -> UsersGetContextForUserParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'req> Serialize for UsersGetContextForUserParams<'req>
[src]
impl<'req> Serialize for UsersGetContextForUserParams<'req>
[src]