pub struct DeepgramProvider { /* private fields */ }Implementations§
Source§impl DeepgramProvider
impl DeepgramProvider
pub fn new() -> Self
pub fn with_base_url(url: &str) -> Self
Trait Implementations§
Source§impl Default for DeepgramProvider
impl Default for DeepgramProvider
Source§impl UsageProvider for DeepgramProvider
impl UsageProvider for DeepgramProvider
Source§fn metadata(&self) -> &ProviderMetadata
fn metadata(&self) -> &ProviderMetadata
Returns the provider metadata.
Source§fn detect_credentials(&self) -> bool
fn detect_credentials(&self) -> bool
Whether credentials for this provider are detectable on this machine
(used to auto-enable providers without an explicit toggle).
Source§fn fetch_usage<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 ProviderContext,
) -> Pin<Box<dyn Future<Output = Result<UsageSnapshot, SpendPanelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_usage<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 ProviderContext,
) -> Pin<Box<dyn Future<Output = Result<UsageSnapshot, SpendPanelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Fetches usage data.
Auto Trait Implementations§
impl Freeze for DeepgramProvider
impl RefUnwindSafe for DeepgramProvider
impl Send for DeepgramProvider
impl Sync for DeepgramProvider
impl Unpin for DeepgramProvider
impl UnsafeUnpin for DeepgramProvider
impl UnwindSafe for DeepgramProvider
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