#[non_exhaustive]pub struct PushGitCommitsRequest {
pub name: String,
pub remote_branch: String,
/* private fields */
}Expand description
PushGitCommits 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 to which commits should be pushed. If left unset, the repository’s default branch name will be used.
Implementations§
Trait Implementations§
Source§impl Clone for PushGitCommitsRequest
impl Clone for PushGitCommitsRequest
Source§fn clone(&self) -> PushGitCommitsRequest
fn clone(&self) -> PushGitCommitsRequest
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 PushGitCommitsRequest
impl Debug for PushGitCommitsRequest
Source§impl Default for PushGitCommitsRequest
impl Default for PushGitCommitsRequest
Source§fn default() -> PushGitCommitsRequest
fn default() -> PushGitCommitsRequest
Returns the “default value” for a type. Read more
Source§impl Message for PushGitCommitsRequest
impl Message for PushGitCommitsRequest
Source§impl PartialEq for PushGitCommitsRequest
impl PartialEq for PushGitCommitsRequest
impl StructuralPartialEq for PushGitCommitsRequest
Auto Trait Implementations§
impl Freeze for PushGitCommitsRequest
impl RefUnwindSafe for PushGitCommitsRequest
impl Send for PushGitCommitsRequest
impl Sync for PushGitCommitsRequest
impl Unpin for PushGitCommitsRequest
impl UnwindSafe for PushGitCommitsRequest
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