pub struct EmbedContentResponse {
pub sdk_http_response: Option<HttpResponse>,
pub embeddings: Option<Vec<ContentEmbedding>>,
pub metadata: Option<EmbedContentMetadata>,
}Expand description
EmbedContent 响应。
Fields§
§sdk_http_response: Option<HttpResponse>Optional. Used to retain the full HTTP response.
embeddings: Option<Vec<ContentEmbedding>>§metadata: Option<EmbedContentMetadata>Trait Implementations§
Source§impl Clone for EmbedContentResponse
impl Clone for EmbedContentResponse
Source§fn clone(&self) -> EmbedContentResponse
fn clone(&self) -> EmbedContentResponse
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 EmbedContentResponse
impl Debug for EmbedContentResponse
Source§impl<'de> Deserialize<'de> for EmbedContentResponse
impl<'de> Deserialize<'de> for EmbedContentResponse
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 EmbedContentResponse
impl RefUnwindSafe for EmbedContentResponse
impl Send for EmbedContentResponse
impl Sync for EmbedContentResponse
impl Unpin for EmbedContentResponse
impl UnsafeUnpin for EmbedContentResponse
impl UnwindSafe for EmbedContentResponse
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