pub struct HooksSection {
pub convert_to_llm: Option<String>,
pub transform_context: Option<String>,
}Expand description
Hook references — Phase 2 WASM plugin loading. In Phase 1, these are stored as strings but not acted upon.
Fields§
§convert_to_llm: Option<String>§transform_context: Option<String>Trait Implementations§
Source§impl Clone for HooksSection
impl Clone for HooksSection
Source§fn clone(&self) -> HooksSection
fn clone(&self) -> HooksSection
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 moreSource§impl Debug for HooksSection
impl Debug for HooksSection
Source§impl Default for HooksSection
impl Default for HooksSection
Source§fn default() -> HooksSection
fn default() -> HooksSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HooksSectionwhere
HooksSection: Default,
impl<'de> Deserialize<'de> for HooksSectionwhere
HooksSection: Default,
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 Freeze for HooksSection
impl RefUnwindSafe for HooksSection
impl Send for HooksSection
impl Sync for HooksSection
impl Unpin for HooksSection
impl UnsafeUnpin for HooksSection
impl UnwindSafe for HooksSection
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