#[repr(C)]pub struct transcribe_capabilities {
pub struct_size: u64,
pub native_sample_rate: i32,
pub n_languages: c_int,
pub languages: *const *const c_char,
pub max_timestamp_kind: transcribe_timestamp_kind,
pub supports_language_detect: bool,
pub supports_translate: bool,
pub supports_streaming: bool,
pub supports_spec_decode: bool,
pub max_audio_ms: i64,
}Fields§
§struct_size: u64§native_sample_rate: i32§n_languages: c_int§languages: *const *const c_char§max_timestamp_kind: transcribe_timestamp_kind§supports_language_detect: bool§supports_translate: bool§supports_streaming: bool§supports_spec_decode: bool§max_audio_ms: i64Trait Implementations§
Source§impl Clone for transcribe_capabilities
impl Clone for transcribe_capabilities
Source§fn clone(&self) -> transcribe_capabilities
fn clone(&self) -> transcribe_capabilities
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 moreimpl Copy for transcribe_capabilities
Auto Trait Implementations§
impl !Send for transcribe_capabilities
impl !Sync for transcribe_capabilities
impl Freeze for transcribe_capabilities
impl RefUnwindSafe for transcribe_capabilities
impl Unpin for transcribe_capabilities
impl UnsafeUnpin for transcribe_capabilities
impl UnwindSafe for transcribe_capabilities
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