#[non_exhaustive]pub struct ContentEmbedding {
pub values: Option<Vec<Number>>,
pub shape: Option<Vec<i64>>,
pub rest: Rest,
}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.values: Option<Vec<Number>>§shape: Option<Vec<i64>>§rest: RestImplementations§
Source§impl ContentEmbedding
impl ContentEmbedding
Sourcepub fn builder() -> ContentEmbeddingBuilder
pub fn builder() -> ContentEmbeddingBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ContentEmbedding
impl Clone for ContentEmbedding
Source§impl Debug for ContentEmbedding
impl Debug for ContentEmbedding
Source§impl DeclaredFields for ContentEmbedding
impl DeclaredFields for ContentEmbedding
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ContentEmbedding
impl<'de> Deserialize<'de> for ContentEmbedding
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 ContentEmbedding
impl PartialEq for ContentEmbedding
Source§impl Serialize for ContentEmbedding
impl Serialize for ContentEmbedding
impl StructuralPartialEq for ContentEmbedding
Auto Trait Implementations§
impl Freeze for ContentEmbedding
impl RefUnwindSafe for ContentEmbedding
impl Send for ContentEmbedding
impl Sync for ContentEmbedding
impl Unpin for ContentEmbedding
impl UnsafeUnpin for ContentEmbedding
impl UnwindSafe for ContentEmbedding
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