pub struct AssistantHookAssistantSpeechInterrupted {
pub on: OnTrue,
pub do: Vec<AssistantHookAssistantSpeechInterruptedDoInner>,
}
Fields§
§on: OnTrue
This is the event that triggers this hook
do: Vec<AssistantHookAssistantSpeechInterruptedDoInner>
This is the set of actions to perform when the hook triggers
Implementations§
Trait Implementations§
Source§impl Clone for AssistantHookAssistantSpeechInterrupted
impl Clone for AssistantHookAssistantSpeechInterrupted
Source§fn clone(&self) -> AssistantHookAssistantSpeechInterrupted
fn clone(&self) -> AssistantHookAssistantSpeechInterrupted
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AssistantHookAssistantSpeechInterrupted
impl Default for AssistantHookAssistantSpeechInterrupted
Source§fn default() -> AssistantHookAssistantSpeechInterrupted
fn default() -> AssistantHookAssistantSpeechInterrupted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssistantHookAssistantSpeechInterrupted
impl<'de> Deserialize<'de> for AssistantHookAssistantSpeechInterrupted
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
Source§impl PartialEq for AssistantHookAssistantSpeechInterrupted
impl PartialEq for AssistantHookAssistantSpeechInterrupted
Source§fn eq(&self, other: &AssistantHookAssistantSpeechInterrupted) -> bool
fn eq(&self, other: &AssistantHookAssistantSpeechInterrupted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AssistantHookAssistantSpeechInterrupted
Auto Trait Implementations§
impl Freeze for AssistantHookAssistantSpeechInterrupted
impl RefUnwindSafe for AssistantHookAssistantSpeechInterrupted
impl Send for AssistantHookAssistantSpeechInterrupted
impl Sync for AssistantHookAssistantSpeechInterrupted
impl Unpin for AssistantHookAssistantSpeechInterrupted
impl UnwindSafe for AssistantHookAssistantSpeechInterrupted
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