#[non_exhaustive]pub struct CommitWorkspaceChangesRequest {
pub name: String,
pub author: Option<CommitAuthor>,
pub commit_message: String,
pub paths: Vec<String>,
/* private fields */
}Expand description
CommitWorkspaceChanges 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.
Required. The commit’s author.
commit_message: StringOptional. The commit’s message.
paths: Vec<String>Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.
Implementations§
Source§impl CommitWorkspaceChangesRequest
impl CommitWorkspaceChangesRequest
Trait Implementations§
Source§impl Clone for CommitWorkspaceChangesRequest
impl Clone for CommitWorkspaceChangesRequest
Source§fn clone(&self) -> CommitWorkspaceChangesRequest
fn clone(&self) -> CommitWorkspaceChangesRequest
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 CommitWorkspaceChangesRequest
impl Default for CommitWorkspaceChangesRequest
Source§fn default() -> CommitWorkspaceChangesRequest
fn default() -> CommitWorkspaceChangesRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommitWorkspaceChangesRequest
impl PartialEq for CommitWorkspaceChangesRequest
Source§fn eq(&self, other: &CommitWorkspaceChangesRequest) -> bool
fn eq(&self, other: &CommitWorkspaceChangesRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommitWorkspaceChangesRequest
Auto Trait Implementations§
impl Freeze for CommitWorkspaceChangesRequest
impl RefUnwindSafe for CommitWorkspaceChangesRequest
impl Send for CommitWorkspaceChangesRequest
impl Sync for CommitWorkspaceChangesRequest
impl Unpin for CommitWorkspaceChangesRequest
impl UnwindSafe for CommitWorkspaceChangesRequest
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