#[non_exhaustive]pub struct BatchGetCommitsInput {
pub commit_ids: Option<Vec<String>>,
pub repository_name: Option<String>,
}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.commit_ids: Option<Vec<String>>The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
repository_name: Option<String>The name of the repository that contains the commits.
Implementations§
source§impl BatchGetCommitsInput
impl BatchGetCommitsInput
sourcepub fn commit_ids(&self) -> Option<&[String]>
pub fn commit_ids(&self) -> Option<&[String]>
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository that contains the commits.
source§impl BatchGetCommitsInput
impl BatchGetCommitsInput
sourcepub fn builder() -> BatchGetCommitsInputBuilder
pub fn builder() -> BatchGetCommitsInputBuilder
Creates a new builder-style object to manufacture BatchGetCommitsInput.
Trait Implementations§
source§impl Clone for BatchGetCommitsInput
impl Clone for BatchGetCommitsInput
source§fn clone(&self) -> BatchGetCommitsInput
fn clone(&self) -> BatchGetCommitsInput
Returns a copy 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 BatchGetCommitsInput
impl Debug for BatchGetCommitsInput
source§impl PartialEq<BatchGetCommitsInput> for BatchGetCommitsInput
impl PartialEq<BatchGetCommitsInput> for BatchGetCommitsInput
source§fn eq(&self, other: &BatchGetCommitsInput) -> bool
fn eq(&self, other: &BatchGetCommitsInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetCommitsInput
Auto Trait Implementations§
impl RefUnwindSafe for BatchGetCommitsInput
impl Send for BatchGetCommitsInput
impl Sync for BatchGetCommitsInput
impl Unpin for BatchGetCommitsInput
impl UnwindSafe for BatchGetCommitsInput
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