#[non_exhaustive]pub struct FetchFileDiffRequest {
pub workspace: String,
pub path: String,
/* private fields */
}Expand description
FetchFileDiff 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.workspace: StringRequired. The workspace’s name.
path: StringRequired. The file’s full path including filename, relative to the workspace root.
Implementations§
Trait Implementations§
Source§impl Clone for FetchFileDiffRequest
impl Clone for FetchFileDiffRequest
Source§fn clone(&self) -> FetchFileDiffRequest
fn clone(&self) -> FetchFileDiffRequest
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 FetchFileDiffRequest
impl Debug for FetchFileDiffRequest
Source§impl Default for FetchFileDiffRequest
impl Default for FetchFileDiffRequest
Source§fn default() -> FetchFileDiffRequest
fn default() -> FetchFileDiffRequest
Returns the “default value” for a type. Read more
Source§impl Message for FetchFileDiffRequest
impl Message for FetchFileDiffRequest
Source§impl PartialEq for FetchFileDiffRequest
impl PartialEq for FetchFileDiffRequest
impl StructuralPartialEq for FetchFileDiffRequest
Auto Trait Implementations§
impl Freeze for FetchFileDiffRequest
impl RefUnwindSafe for FetchFileDiffRequest
impl Send for FetchFileDiffRequest
impl Sync for FetchFileDiffRequest
impl Unpin for FetchFileDiffRequest
impl UnwindSafe for FetchFileDiffRequest
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