pub struct ListRepositoriesForTheAuthenticatedUser<'a> {
pub visibility: Option<&'a str>,
pub affiliation: Option<&'a str>,
pub type: Option<&'a str>,
pub sort: Option<&'a str>,
pub direction: Option<&'a str>,
pub per_page: Option<u8>,
pub page: Option<u16>,
pub since: Option<&'a str>,
pub before: Option<&'a str>,
}
Expand description
Fields
visibility: Option<&'a str>
affiliation: Option<&'a str>
type: Option<&'a str>
sort: Option<&'a str>
direction: Option<&'a str>
per_page: Option<u8>
page: Option<u16>
since: Option<&'a str>
before: Option<&'a str>
Implementations
sourceimpl<'a> ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> ListRepositoriesForTheAuthenticatedUser<'a>
sourcepub fn new() -> Self
pub fn new() -> Self
Build a ListRepositoriesForTheAuthenticatedUser
instance.
sourcepub fn visibility(self, visibility: &'a str) -> Self
pub fn visibility(self, visibility: &'a str) -> Self
Set a new visibility
.
sourcepub fn affiliation(self, affiliation: &'a str) -> Self
pub fn affiliation(self, affiliation: &'a str) -> Self
Set a new affiliation
.
Trait Implementations
sourceimpl<'a> Api for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> Api for ListRepositoriesForTheAuthenticatedUser<'a>
sourceimpl<'a> ApiExt for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> ApiExt for ListRepositoriesForTheAuthenticatedUser<'a>
sourceimpl<'a> Clone for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> Clone for ListRepositoriesForTheAuthenticatedUser<'a>
sourcefn clone(&self) -> ListRepositoriesForTheAuthenticatedUser<'a>
fn clone(&self) -> ListRepositoriesForTheAuthenticatedUser<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> Debug for ListRepositoriesForTheAuthenticatedUser<'a>
sourceimpl<'a> PartialEq<ListRepositoriesForTheAuthenticatedUser<'a>> for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> PartialEq<ListRepositoriesForTheAuthenticatedUser<'a>> for ListRepositoriesForTheAuthenticatedUser<'a>
sourcefn eq(&self, other: &ListRepositoriesForTheAuthenticatedUser<'a>) -> bool
fn eq(&self, other: &ListRepositoriesForTheAuthenticatedUser<'a>) -> bool
impl<'a> Eq for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> StructuralEq for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> StructuralPartialEq for ListRepositoriesForTheAuthenticatedUser<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> Send for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> Sync for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> Unpin for ListRepositoriesForTheAuthenticatedUser<'a>
impl<'a> UnwindSafe for ListRepositoriesForTheAuthenticatedUser<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more