use ;
use crate;
/// The hook struct models a hook in the api model.
///
/// A hook is a function that is called before or after a request is processed.
/// It contains an api model configuration which is used in case the hook requires
/// to make a request to the api.