pub enum ContextRef {
File {
workspace_id: String,
path: String,
range: Option<LineRange>,
},
Terminal {
label: Option<String>,
content: String,
},
Diagnostics {
label: Option<String>,
content: String,
},
Git {
workspace_id: String,
mode: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for ContextRef
impl Debug for ContextRef
Source§impl<'de> Deserialize<'de> for ContextRef
impl<'de> Deserialize<'de> for ContextRef
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
Auto Trait Implementations§
impl Freeze for ContextRef
impl RefUnwindSafe for ContextRef
impl Send for ContextRef
impl Sync for ContextRef
impl Unpin for ContextRef
impl UnsafeUnpin for ContextRef
impl UnwindSafe for ContextRef
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