pub struct ContentChunkMetadata {
pub chunk_html: Option<Option<String>>,
pub id: Uuid,
pub image_urls: Option<Option<Vec<String>>>,
pub num_value: Option<Option<f64>>,
pub time_stamp: Option<Option<String>>,
pub tracking_id: Option<Option<String>>,
pub weight: f64,
}Fields§
§chunk_html: Option<Option<String>>§id: Uuid§image_urls: Option<Option<Vec<String>>>§num_value: Option<Option<f64>>§time_stamp: Option<Option<String>>§tracking_id: Option<Option<String>>§weight: f64Implementations§
Source§impl ContentChunkMetadata
impl ContentChunkMetadata
pub fn new(id: Uuid, weight: f64) -> ContentChunkMetadata
Trait Implementations§
Source§impl Clone for ContentChunkMetadata
impl Clone for ContentChunkMetadata
Source§fn clone(&self) -> ContentChunkMetadata
fn clone(&self) -> ContentChunkMetadata
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 ContentChunkMetadata
impl Debug for ContentChunkMetadata
Source§impl Default for ContentChunkMetadata
impl Default for ContentChunkMetadata
Source§fn default() -> ContentChunkMetadata
fn default() -> ContentChunkMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentChunkMetadata
impl<'de> Deserialize<'de> for ContentChunkMetadata
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 ContentChunkMetadata
impl PartialEq for ContentChunkMetadata
Source§impl Serialize for ContentChunkMetadata
impl Serialize for ContentChunkMetadata
impl StructuralPartialEq for ContentChunkMetadata
Auto Trait Implementations§
impl Freeze for ContentChunkMetadata
impl RefUnwindSafe for ContentChunkMetadata
impl Send for ContentChunkMetadata
impl Sync for ContentChunkMetadata
impl Unpin for ContentChunkMetadata
impl UnwindSafe for ContentChunkMetadata
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