pub struct CreateFile {
pub annotation_id: Option<ChangeAnnotationIdentifier>,
pub kind: String,
pub options: Option<CreateFileOptions>,
pub uri: DocumentUri,
}Expand description
Create file operation
Fields§
§annotation_id: Option<ChangeAnnotationIdentifier>An optional annotation identifer describing the operation.
kind: StringA create
options: Option<CreateFileOptions>Additional options
uri: DocumentUriThe resource to create.
Trait Implementations§
Source§impl Clone for CreateFile
impl Clone for CreateFile
Source§fn clone(&self) -> CreateFile
fn clone(&self) -> CreateFile
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 CreateFile
impl Debug for CreateFile
Source§impl<'de> Deserialize<'de> for CreateFile
impl<'de> Deserialize<'de> for CreateFile
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 CreateFile
impl PartialEq for CreateFile
Source§impl Serialize for CreateFile
impl Serialize for CreateFile
impl StructuralPartialEq for CreateFile
Auto Trait Implementations§
impl Freeze for CreateFile
impl RefUnwindSafe for CreateFile
impl Send for CreateFile
impl Sync for CreateFile
impl Unpin for CreateFile
impl UnwindSafe for CreateFile
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