Struct roctogen::endpoints::repos::ReposListCollaboratorsParams [−][src]
pub struct ReposListCollaboratorsParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the List repository collaborators endpoint.
Implementations
impl<'req> ReposListCollaboratorsParams<'req>
[src]
impl<'req> ReposListCollaboratorsParams<'req>
[src]pub fn new() -> Self
[src]
pub fn affiliation(self, affiliation: &'req str) -> Self
[src]
pub fn affiliation(self, affiliation: &'req str) -> Self
[src]Filter collaborators returned by their affiliation. Can be one of: \* outside
: All outside collaborators of an organization-owned repository. \* direct
: All collaborators with permissions to an organization-owned repository, regardless of organization membership status. \* all
: All collaborators the authenticated user can see.
Trait Implementations
impl<'req> Default for ReposListCollaboratorsParams<'req>
[src]
impl<'req> Default for ReposListCollaboratorsParams<'req>
[src]fn default() -> ReposListCollaboratorsParams<'req>
[src]
fn default() -> ReposListCollaboratorsParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'enc> From<&'enc PerPage> for ReposListCollaboratorsParams<'enc>
[src]
impl<'enc> From<&'enc PerPage> for ReposListCollaboratorsParams<'enc>
[src]impl<'req> Serialize for ReposListCollaboratorsParams<'req>
[src]
impl<'req> Serialize for ReposListCollaboratorsParams<'req>
[src]