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