pub struct HookMutationConfig {
pub enabled: bool,
pub format: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Mutation settings for a hook.
Fields§
§enabled: boolOpt-in flag for parsing stdout as mutation JSON.
format: Option<String>Optional explicit payload format guardrail. Only json is valid in v1.
extra: HashMap<String, Value>Unknown keys captured for v1 mutation guardrails.
Trait Implementations§
Source§impl Clone for HookMutationConfig
impl Clone for HookMutationConfig
Source§impl Debug for HookMutationConfig
impl Debug for HookMutationConfig
Source§impl Default for HookMutationConfig
impl Default for HookMutationConfig
Source§impl<'de> Deserialize<'de> for HookMutationConfig
impl<'de> Deserialize<'de> for HookMutationConfig
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 Forget for HookMutationConfig
impl Freeze for HookMutationConfig
impl RefUnwindSafe for HookMutationConfig
impl Send for HookMutationConfig
impl Sync for HookMutationConfig
impl Unpin for HookMutationConfig
impl UnsafeUnpin for HookMutationConfig
impl UnwindSafe for HookMutationConfig
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