#[non_exhaustive]pub struct FetchRepositoryHistoryRequest {
pub name: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
FetchRepositoryHistory request message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The repository’s name.
page_size: i32Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
page_token: StringOptional. Page token received from a previous FetchRepositoryHistory
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to FetchRepositoryHistory,
with the exception of page_size, must match the call that provided the
page token.
Implementations§
Trait Implementations§
Source§impl Clone for FetchRepositoryHistoryRequest
impl Clone for FetchRepositoryHistoryRequest
Source§fn clone(&self) -> FetchRepositoryHistoryRequest
fn clone(&self) -> FetchRepositoryHistoryRequest
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 moreSource§impl Default for FetchRepositoryHistoryRequest
impl Default for FetchRepositoryHistoryRequest
Source§fn default() -> FetchRepositoryHistoryRequest
fn default() -> FetchRepositoryHistoryRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for FetchRepositoryHistoryRequest
impl PartialEq for FetchRepositoryHistoryRequest
Source§fn eq(&self, other: &FetchRepositoryHistoryRequest) -> bool
fn eq(&self, other: &FetchRepositoryHistoryRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FetchRepositoryHistoryRequest
Auto Trait Implementations§
impl Freeze for FetchRepositoryHistoryRequest
impl RefUnwindSafe for FetchRepositoryHistoryRequest
impl Send for FetchRepositoryHistoryRequest
impl Sync for FetchRepositoryHistoryRequest
impl Unpin for FetchRepositoryHistoryRequest
impl UnwindSafe for FetchRepositoryHistoryRequest
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