pub struct EmbeddingLimits {
pub max_texts: usize,
pub max_text_bytes: usize,
pub max_total_input_bytes: usize,
pub max_dimension: u32,
pub max_output_bytes: usize,
}Fields§
§max_texts: usize§max_text_bytes: usize§max_total_input_bytes: usize§max_dimension: u32§max_output_bytes: usizeTrait Implementations§
Source§impl Clone for EmbeddingLimits
impl Clone for EmbeddingLimits
impl Copy for EmbeddingLimits
Source§impl Debug for EmbeddingLimits
impl Debug for EmbeddingLimits
Source§impl Default for EmbeddingLimits
impl Default for EmbeddingLimits
impl Eq for EmbeddingLimits
Source§impl PartialEq for EmbeddingLimits
impl PartialEq for EmbeddingLimits
impl StructuralPartialEq for EmbeddingLimits
Auto Trait Implementations§
impl Forget for EmbeddingLimits
impl Freeze for EmbeddingLimits
impl Move for EmbeddingLimits
impl RefUnwindSafe for EmbeddingLimits
impl Send for EmbeddingLimits
impl Sync for EmbeddingLimits
impl Unpin for EmbeddingLimits
impl UnsafeUnpin for EmbeddingLimits
impl UnwindSafe for EmbeddingLimits
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,
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