pub struct HookRegistrySource {
pub plugin_id: PluginId,
pub plugin_root: PathBuf,
pub source_path: PathBuf,
pub allowed_http_hosts: Vec<String>,
pub allowed_env_vars: Vec<String>,
pub file: HooksFile,
}Expand description
One plugin hook source used to build a registry.
Fields§
§plugin_id: PluginId§plugin_root: PathBuf§source_path: PathBuf§allowed_http_hosts: Vec<String>§allowed_env_vars: Vec<String>§file: HooksFileTrait Implementations§
Source§impl Clone for HookRegistrySource
impl Clone for HookRegistrySource
Source§fn clone(&self) -> HookRegistrySource
fn clone(&self) -> HookRegistrySource
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 moreAuto Trait Implementations§
impl Freeze for HookRegistrySource
impl RefUnwindSafe for HookRegistrySource
impl Send for HookRegistrySource
impl Sync for HookRegistrySource
impl Unpin for HookRegistrySource
impl UnsafeUnpin for HookRegistrySource
impl UnwindSafe for HookRegistrySource
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