pub struct DatasetRef {
pub id: i64,
pub name: Option<String>,
pub source_type: String,
pub extra: Extra,
}Expand description
The dataset a search hit belongs to — the identifying subset the search endpoints echo back per result.
Fields§
§id: i64§name: Option<String>§source_type: String"crawl" | "workflow".
extra: ExtraTrait Implementations§
Source§impl Clone for DatasetRef
impl Clone for DatasetRef
Source§fn clone(&self) -> DatasetRef
fn clone(&self) -> DatasetRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DatasetRef
impl Debug for DatasetRef
Source§impl Default for DatasetRef
impl Default for DatasetRef
Source§fn default() -> DatasetRef
fn default() -> DatasetRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatasetRefwhere
DatasetRef: Default,
impl<'de> Deserialize<'de> for DatasetRefwhere
DatasetRef: Default,
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 DatasetRef
impl RefUnwindSafe for DatasetRef
impl Send for DatasetRef
impl Sync for DatasetRef
impl Unpin for DatasetRef
impl UnsafeUnpin for DatasetRef
impl UnwindSafe for DatasetRef
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