Struct lsp_types::CreateFilesParams
source · [−]pub struct CreateFilesParams {
pub files: Vec<FileCreate>,
}
Expand description
The parameters sent in notifications/requests for user-initiated creation of files.
@since 3.16.0
Fields
files: Vec<FileCreate>
An array of all files/folders created in this operation.
Trait Implementations
sourceimpl Clone for CreateFilesParams
impl Clone for CreateFilesParams
sourcefn clone(&self) -> CreateFilesParams
fn clone(&self) -> CreateFilesParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateFilesParams
impl Debug for CreateFilesParams
sourceimpl Default for CreateFilesParams
impl Default for CreateFilesParams
sourcefn default() -> CreateFilesParams
fn default() -> CreateFilesParams
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CreateFilesParams
impl<'de> Deserialize<'de> for CreateFilesParams
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CreateFilesParams> for CreateFilesParams
impl PartialEq<CreateFilesParams> for CreateFilesParams
sourcefn eq(&self, other: &CreateFilesParams) -> bool
fn eq(&self, other: &CreateFilesParams) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFilesParams) -> bool
fn ne(&self, other: &CreateFilesParams) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateFilesParams
impl Serialize for CreateFilesParams
impl Eq for CreateFilesParams
impl StructuralEq for CreateFilesParams
impl StructuralPartialEq for CreateFilesParams
Auto Trait Implementations
impl RefUnwindSafe for CreateFilesParams
impl Send for CreateFilesParams
impl Sync for CreateFilesParams
impl Unpin for CreateFilesParams
impl UnwindSafe for CreateFilesParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more