pub struct EventParams {
pub ws: PathBuf,
pub event: BackendEvent,
}Expand description
Parameters of an EVENT notification.
Fields§
§ws: PathBufThe root of the workspace the event came from: the current one when it was sent.
event: BackendEventWhat happened.
Trait Implementations§
Source§impl Clone for EventParams
impl Clone for EventParams
Source§impl Debug for EventParams
impl Debug for EventParams
Source§impl<'de> Deserialize<'de> for EventParams
impl<'de> Deserialize<'de> for EventParams
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 Forget for EventParams
impl Freeze for EventParams
impl Move for EventParams
impl RefUnwindSafe for EventParams
impl Send for EventParams
impl Sync for EventParams
impl Unpin for EventParams
impl UnsafeUnpin for EventParams
impl UnwindSafe for EventParams
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