pub struct DeepLink {
pub position: i32,
pub title: String,
pub url: String,
pub weight: DeepLinkWeight,
}Expand description
Deep link information for search results
Deep links are additional links shown below a main search result, helping users navigate directly to specific pages within your site.
Fields§
§position: i32Position of this deep link in the search results
title: StringDisplay title for the deep link
url: StringURL of the deep link
weight: DeepLinkWeightWeight/priority of this deep link
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeepLink
impl<'de> Deserialize<'de> for DeepLink
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 DeepLink
impl RefUnwindSafe for DeepLink
impl Send for DeepLink
impl Sync for DeepLink
impl Unpin for DeepLink
impl UnwindSafe for DeepLink
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)