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§
source§impl Clone for CreateFilesParams
impl Clone for CreateFilesParams
source§fn clone(&self) -> CreateFilesParams
fn clone(&self) -> CreateFilesParams
Returns a copy 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 CreateFilesParams
impl Debug for CreateFilesParams
source§impl Default for CreateFilesParams
impl Default for CreateFilesParams
source§fn default() -> CreateFilesParams
fn default() -> CreateFilesParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateFilesParams
impl<'de> Deserialize<'de> for CreateFilesParams
source§fn 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
source§impl PartialEq for CreateFilesParams
impl PartialEq for CreateFilesParams
source§fn 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 ==
.source§impl 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§
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.