pub struct HookQuery {
pub event: String,
pub cwd: String,
pub path: Option<String>,
pub seen: Option<String>,
}Expand description
answer/hook: event is session-start or pre-edit; seen the record ids shown already, comma-separated.
Fields§
§event: String§cwd: String§path: Option<String>§seen: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HookQuery
impl<'de> Deserialize<'de> for HookQuery
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 HookQuery
impl Freeze for HookQuery
impl RefUnwindSafe for HookQuery
impl Send for HookQuery
impl Sync for HookQuery
impl Unpin for HookQuery
impl UnsafeUnpin for HookQuery
impl UnwindSafe for HookQuery
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