pub struct GetRepositoriesParams<'a, S: AsRef<str>> {
pub offset: Option<u32>,
pub limit: Option<u32>,
pub filter: Option<GetRepositoriesFilter<'a, S>>,
pub sort: Option<&'a str>,
pub sort_direction: Option<SortDirection>,
}Fields§
§offset: Option<u32>Number of items from the results to skip. Defaults to 0.
limit: Option<u32>Max number of items to return. Defaults to 20.
filter: Option<GetRepositoriesFilter<'a, S>>If specified, determines which items to retrieve.
sort: Option<&'a str>Specifies a field in the returned items to sort by. Defaults to “createdAt”.
sort_direction: Option<SortDirection>Trait Implementations§
Source§impl<'a, S: Clone + AsRef<str>> Clone for GetRepositoriesParams<'a, S>
impl<'a, S: Clone + AsRef<str>> Clone for GetRepositoriesParams<'a, S>
Source§fn clone(&self) -> GetRepositoriesParams<'a, S>
fn clone(&self) -> GetRepositoriesParams<'a, S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a, S> Freeze for GetRepositoriesParams<'a, S>
impl<'a, S> RefUnwindSafe for GetRepositoriesParams<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for GetRepositoriesParams<'a, S>where
S: Sync,
impl<'a, S> Sync for GetRepositoriesParams<'a, S>where
S: Sync,
impl<'a, S> Unpin for GetRepositoriesParams<'a, S>
impl<'a, S> UnwindSafe for GetRepositoriesParams<'a, S>where
S: RefUnwindSafe,
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