pub struct ListCommitsParams {
pub pagination: PaginationParams,
pub ref_: Option<String>,
}Expand description
Query parameters for listing commits.
§Example
use mesa_dev::resources::ListCommitsParams;
let params = ListCommitsParams {
ref_: Some("main".to_owned()),
..Default::default()
};Fields§
§pagination: PaginationParamsPagination parameters.
ref_: Option<String>Optional ref (branch name or SHA) to list commits from.
Trait Implementations§
Source§impl Clone for ListCommitsParams
impl Clone for ListCommitsParams
Source§fn clone(&self) -> ListCommitsParams
fn clone(&self) -> ListCommitsParams
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 Debug for ListCommitsParams
impl Debug for ListCommitsParams
Source§impl Default for ListCommitsParams
impl Default for ListCommitsParams
Source§fn default() -> ListCommitsParams
fn default() -> ListCommitsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListCommitsParams
impl RefUnwindSafe for ListCommitsParams
impl Send for ListCommitsParams
impl Sync for ListCommitsParams
impl Unpin for ListCommitsParams
impl UnwindSafe for ListCommitsParams
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