#[non_exhaustive]pub struct EmbedContentConfig {
pub title: Option<String>,
pub task_type: Option<TaskType>,
pub auto_truncate: Option<bool>,
pub output_dimensionality: Option<i32>,
pub document_ocr: Option<bool>,
pub audio_track_extraction: Option<bool>,
pub extra: ExtraFields,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: Option<String>§task_type: Option<TaskType>§auto_truncate: Option<bool>§output_dimensionality: Option<i32>§document_ocr: Option<bool>§audio_track_extraction: Option<bool>§extra: ExtraFieldsImplementations§
Trait Implementations§
Source§impl Clone for EmbedContentConfig
impl Clone for EmbedContentConfig
Source§fn clone(&self) -> EmbedContentConfig
fn clone(&self) -> EmbedContentConfig
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 EmbedContentConfig
impl Debug for EmbedContentConfig
Source§impl Default for EmbedContentConfig
impl Default for EmbedContentConfig
Source§fn default() -> EmbedContentConfig
fn default() -> EmbedContentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmbedContentConfig
impl<'de> Deserialize<'de> for EmbedContentConfig
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 EmbedContentConfig
impl PartialEq for EmbedContentConfig
Source§impl Serialize for EmbedContentConfig
impl Serialize for EmbedContentConfig
impl StructuralPartialEq for EmbedContentConfig
Auto Trait Implementations§
impl Freeze for EmbedContentConfig
impl RefUnwindSafe for EmbedContentConfig
impl Send for EmbedContentConfig
impl Sync for EmbedContentConfig
impl Unpin for EmbedContentConfig
impl UnsafeUnpin for EmbedContentConfig
impl UnwindSafe for EmbedContentConfig
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