pub struct DtoEmbeddingModel {
pub name: Option<String>,
pub dimension: Option<i64>,
}
Expand description
DtoEmbeddingModel 模型
Fields§
§name: Option<String>
§dimension: Option<i64>
Trait Implementations§
Source§impl Clone for DtoEmbeddingModel
impl Clone for DtoEmbeddingModel
Source§fn clone(&self) -> DtoEmbeddingModel
fn clone(&self) -> DtoEmbeddingModel
Returns a duplicate of the value. Read more
1.0.0 · 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 DtoEmbeddingModel
impl Debug for DtoEmbeddingModel
Source§impl<'de> Deserialize<'de> for DtoEmbeddingModel
impl<'de> Deserialize<'de> for DtoEmbeddingModel
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
Auto Trait Implementations§
impl Freeze for DtoEmbeddingModel
impl RefUnwindSafe for DtoEmbeddingModel
impl Send for DtoEmbeddingModel
impl Sync for DtoEmbeddingModel
impl Unpin for DtoEmbeddingModel
impl UnwindSafe for DtoEmbeddingModel
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