pub struct SingleEmbedContentResponse {
pub embedding: Option<ContentEmbedding>,
pub token_count: Option<String>,
}Expand description
单条嵌入响应。
Fields§
§embedding: Option<ContentEmbedding>§token_count: Option<String>Trait Implementations§
Source§impl Clone for SingleEmbedContentResponse
impl Clone for SingleEmbedContentResponse
Source§fn clone(&self) -> SingleEmbedContentResponse
fn clone(&self) -> SingleEmbedContentResponse
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 SingleEmbedContentResponse
impl Debug for SingleEmbedContentResponse
Source§impl Default for SingleEmbedContentResponse
impl Default for SingleEmbedContentResponse
Source§fn default() -> SingleEmbedContentResponse
fn default() -> SingleEmbedContentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SingleEmbedContentResponse
impl<'de> Deserialize<'de> for SingleEmbedContentResponse
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 SingleEmbedContentResponse
impl RefUnwindSafe for SingleEmbedContentResponse
impl Send for SingleEmbedContentResponse
impl Sync for SingleEmbedContentResponse
impl Unpin for SingleEmbedContentResponse
impl UnsafeUnpin for SingleEmbedContentResponse
impl UnwindSafe for SingleEmbedContentResponse
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