pub struct DocumentPath {
pub namespace: String,
pub collection: String,
pub name: String,
}Expand description
Location of a document in the search engine
Fields§
§namespace: StringThe namespace the collection belongs to
collection: StringThe collection you want to search in
name: StringThe name of the document
Implementations§
Trait Implementations§
Source§impl Clone for DocumentPath
impl Clone for DocumentPath
Source§fn clone(&self) -> DocumentPath
fn clone(&self) -> DocumentPath
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 DocumentPath
impl Debug for DocumentPath
Source§impl<'de> Deserialize<'de> for DocumentPath
impl<'de> Deserialize<'de> for DocumentPath
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 DocumentPath
impl PartialEq for DocumentPath
Source§impl Serialize for DocumentPath
impl Serialize for DocumentPath
impl Eq for DocumentPath
impl StructuralPartialEq for DocumentPath
Auto Trait Implementations§
impl Freeze for DocumentPath
impl RefUnwindSafe for DocumentPath
impl Send for DocumentPath
impl Sync for DocumentPath
impl Unpin for DocumentPath
impl UnwindSafe for DocumentPath
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