pub struct ModuleSwitches {
pub denoise: bool,
pub vad: bool,
pub eou: bool,
pub ringback_detection: bool,
pub sipflow: bool,
pub playbooks: bool,
}Expand description
Effective module switches for the current config snapshot.
Fields§
§denoise: bool§vad: bool§eou: bool§ringback_detection: bool§sipflow: bool§playbooks: boolImplementations§
Source§impl ModuleSwitches
impl ModuleSwitches
pub fn from_config(config: &Config) -> Self
Trait Implementations§
Source§impl Clone for ModuleSwitches
impl Clone for ModuleSwitches
Source§impl Debug for ModuleSwitches
impl Debug for ModuleSwitches
Auto Trait Implementations§
impl Forget for ModuleSwitches
impl Freeze for ModuleSwitches
impl Move for ModuleSwitches
impl RefUnwindSafe for ModuleSwitches
impl Send for ModuleSwitches
impl Sync for ModuleSwitches
impl Unpin for ModuleSwitches
impl UnsafeUnpin for ModuleSwitches
impl UnwindSafe for ModuleSwitches
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more