pub struct ResolvedHook {
pub hook_type: HookType,
pub script_name: String,
pub sql: String,
}Expand description
A hook SQL script discovered on disk or specified in config.
Fields§
§hook_type: HookTypeThe phase at which this hook should be executed.
script_name: StringFilename of the hook SQL script.
sql: StringRaw SQL content of the hook file.
Trait Implementations§
Source§impl Clone for ResolvedHook
impl Clone for ResolvedHook
Source§fn clone(&self) -> ResolvedHook
fn clone(&self) -> ResolvedHook
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 moreAuto Trait Implementations§
impl Freeze for ResolvedHook
impl RefUnwindSafe for ResolvedHook
impl Send for ResolvedHook
impl Sync for ResolvedHook
impl Unpin for ResolvedHook
impl UnsafeUnpin for ResolvedHook
impl UnwindSafe for ResolvedHook
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