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§impl Serialize for CreateFilesParams
impl Serialize for CreateFilesParams
impl Eq for CreateFilesParams
impl StructuralPartialEq for CreateFilesParams
Auto Trait Implementations§
impl Freeze for CreateFilesParams
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.