pub struct FeedbackPlugin { /* private fields */ }Implementations§
Source§impl FeedbackPlugin
impl FeedbackPlugin
pub fn new(store: Arc<dyn FeedbackStore>) -> Self
pub fn memory() -> Self
pub fn with_transcription(self, transcription: TranscriptionService) -> Self
pub fn postgres(pool: PgPool) -> Self
pub fn sqlite(pool: SqlitePool) -> Self
Trait Implementations§
Source§impl Clone for FeedbackPlugin
impl Clone for FeedbackPlugin
Source§fn clone(&self) -> FeedbackPlugin
fn clone(&self) -> FeedbackPlugin
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 FeedbackPlugin
impl Debug for FeedbackPlugin
Source§impl Default for FeedbackPlugin
impl Default for FeedbackPlugin
Source§impl Plugin for FeedbackPlugin
impl Plugin for FeedbackPlugin
fn descriptor(&self) -> PluginDescriptor
Source§fn configure_descriptor(
&self,
descriptor: &mut PluginDescriptor,
configuration: Option<&Value>,
) -> Result<(), PluginError>
fn configure_descriptor( &self, descriptor: &mut PluginDescriptor, configuration: Option<&Value>, ) -> Result<(), PluginError>
Adjusts graph metadata from the plugin’s validated runtime configuration. Read more
fn install(&self, context: &mut PluginContext<'_>) -> Result<(), PluginError>
Source§fn finalize(
&self,
_context: &mut PluginFinalizeContext<'_>,
) -> Result<(), PluginError>
fn finalize( &self, _context: &mut PluginFinalizeContext<'_>, ) -> Result<(), PluginError>
Completes composition after every enabled plugin has installed its services and
contributions. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FeedbackPlugin
impl !UnwindSafe for FeedbackPlugin
impl Freeze for FeedbackPlugin
impl Send for FeedbackPlugin
impl Sync for FeedbackPlugin
impl Unpin for FeedbackPlugin
impl UnsafeUnpin for FeedbackPlugin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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