pub struct LspStateModel {
pub instance_id: InstanceId,
pub phase: String,
pub diagnostics: Vec<MaxDiagnostic>,
pub receipts: Vec<Receipt>,
pub policy_state: Option<PolicyState>,
}Fields§
§instance_id: InstanceId§phase: String§diagnostics: Vec<MaxDiagnostic>§receipts: Vec<Receipt>§policy_state: Option<PolicyState>Trait Implementations§
Source§impl Clone for LspStateModel
impl Clone for LspStateModel
Source§fn clone(&self) -> LspStateModel
fn clone(&self) -> LspStateModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LspStateModel
impl Debug for LspStateModel
Source§impl<'de> Deserialize<'de> for LspStateModel
impl<'de> Deserialize<'de> for LspStateModel
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 !RefUnwindSafe for LspStateModel
impl Freeze for LspStateModel
impl Send for LspStateModel
impl Sync for LspStateModel
impl Unpin for LspStateModel
impl UnsafeUnpin for LspStateModel
impl UnwindSafe for LspStateModel
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