Struct roctogen::endpoints::repos::ReposListForAuthenticatedUserParams [−][src]
pub struct ReposListForAuthenticatedUserParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the List repositories for the authenticated user endpoint.
Implementations
impl<'req> ReposListForAuthenticatedUserParams<'req>
[src]
impl<'req> ReposListForAuthenticatedUserParams<'req>
[src]pub fn new() -> Self
[src]
pub fn visibility(self, visibility: &'req str) -> Self
[src]
pub fn visibility(self, visibility: &'req str) -> Self
[src]Can be one of all
, public
, or private
. Note: For GitHub AE, can be one of all
, internal
, or private
.
pub fn affiliation(self, affiliation: &'req str) -> Self
[src]
pub fn affiliation(self, affiliation: &'req str) -> Self
[src]Comma-separated list of values. Can include: \* owner
: Repositories that are owned by the authenticated user. \* collaborator
: Repositories that the user has been added to as a collaborator. \* organization_member
: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.
pub fn _type(self, _type: &'req str) -> Self
[src]
pub fn _type(self, _type: &'req str) -> Self
[src]Can be one of all
, owner
, public
, private
, member
. Note: For GitHub AE, can be one of all
, owner
, internal
, private
, member
. Default: all
Will cause a 422
error if used in the same request as visibility or affiliation. Will cause a 422
error if used in the same request as visibility or affiliation.
pub fn direction(self, direction: &'req str) -> Self
[src]
pub fn direction(self, direction: &'req str) -> Self
[src]Can be one of asc
or desc
. Default: asc
when using full_name
, otherwise desc
Trait Implementations
impl<'req> Default for ReposListForAuthenticatedUserParams<'req>
[src]
impl<'req> Default for ReposListForAuthenticatedUserParams<'req>
[src]fn default() -> ReposListForAuthenticatedUserParams<'req>
[src]
fn default() -> ReposListForAuthenticatedUserParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'enc> From<&'enc PerPage> for ReposListForAuthenticatedUserParams<'enc>
[src]
impl<'enc> From<&'enc PerPage> for ReposListForAuthenticatedUserParams<'enc>
[src]impl<'req> Serialize for ReposListForAuthenticatedUserParams<'req>
[src]
impl<'req> Serialize for ReposListForAuthenticatedUserParams<'req>
[src]