#[non_exhaustive]pub struct PullGitCommitsRequest {
pub name: String,
pub remote_branch: String,
pub author: Option<CommitAuthor>,
/* private fields */
}Expand description
PullGitCommits 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 workspace’s name.
remote_branch: StringOptional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository’s default branch name will be used.
Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace.
Implementations§
Trait Implementations§
Source§impl Clone for PullGitCommitsRequest
impl Clone for PullGitCommitsRequest
Source§fn clone(&self) -> PullGitCommitsRequest
fn clone(&self) -> PullGitCommitsRequest
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 PullGitCommitsRequest
impl Debug for PullGitCommitsRequest
Source§impl Default for PullGitCommitsRequest
impl Default for PullGitCommitsRequest
Source§fn default() -> PullGitCommitsRequest
fn default() -> PullGitCommitsRequest
Returns the “default value” for a type. Read more
Source§impl Message for PullGitCommitsRequest
impl Message for PullGitCommitsRequest
Source§impl PartialEq for PullGitCommitsRequest
impl PartialEq for PullGitCommitsRequest
impl StructuralPartialEq for PullGitCommitsRequest
Auto Trait Implementations§
impl Freeze for PullGitCommitsRequest
impl RefUnwindSafe for PullGitCommitsRequest
impl Send for PullGitCommitsRequest
impl Sync for PullGitCommitsRequest
impl Unpin for PullGitCommitsRequest
impl UnwindSafe for PullGitCommitsRequest
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