Struct lsp2::CreateFilesParams
pub struct CreateFilesParams {
pub files: Vec<FileCreate, Global>,
}
Expand description
The parameters sent in notifications/requests for user-initiated creation of files.
@since 3.16.0
Fields§
§files: Vec<FileCreate, Global>
An array of all files/folders created in this operation.
Trait Implementations§
§impl Clone for CreateFilesParams
impl Clone for CreateFilesParams
§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 more§impl Debug for CreateFilesParams
impl Debug for CreateFilesParams
§impl Default for CreateFilesParams
impl Default for CreateFilesParams
§fn default() -> CreateFilesParams
fn default() -> CreateFilesParams
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for CreateFilesParams
impl<'de> Deserialize<'de> for CreateFilesParams
§fn deserialize<__D>(
__deserializer: __D
) -> Result<CreateFilesParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CreateFilesParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<CreateFilesParams> for CreateFilesParams
impl PartialEq<CreateFilesParams> for CreateFilesParams
§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 ==
.§impl Serialize for CreateFilesParams
impl Serialize for CreateFilesParams
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.