pub struct HookEntry {
pub name: String,
pub kind: HookKind,
pub routing: Map<String, Value>,
}Expand description
One hook the module declares.
Fields§
§name: StringThe name a host calls the hook by
kind: HookKindWhat the hook does, which decides its input, its output and when Alien calls it
routing: Map<String, Value>What a host needs to route calls to the hook: resourceType and platform for an
emitter or an importer, resourceType for a link
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HookEntry
impl<'de> Deserialize<'de> for HookEntry
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
impl StructuralPartialEq for HookEntry
Auto Trait Implementations§
impl Forget for HookEntry
impl Freeze for HookEntry
impl Move for HookEntry
impl RefUnwindSafe for HookEntry
impl Send for HookEntry
impl Sync for HookEntry
impl Unpin for HookEntry
impl UnsafeUnpin for HookEntry
impl UnwindSafe for HookEntry
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