#[non_exhaustive]pub struct SearchCitation {
pub cited_text: String,
pub end_block_index: i64,
pub search_result_index: i64,
pub source: String,
pub start_block_index: i64,
pub title: String,
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.cited_text: String§end_block_index: i64§search_result_index: i64§source: String§start_block_index: i64§title: String§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for SearchCitation
impl Clone for SearchCitation
Source§impl Debug for SearchCitation
impl Debug for SearchCitation
Source§impl DeclaredFields for SearchCitation
impl DeclaredFields for SearchCitation
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for SearchCitation
impl<'de> Deserialize<'de> for SearchCitation
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
impl Eq for SearchCitation
Source§impl PartialEq for SearchCitation
impl PartialEq for SearchCitation
Source§impl Serialize for SearchCitation
impl Serialize for SearchCitation
impl StructuralPartialEq for SearchCitation
Auto Trait Implementations§
impl Freeze for SearchCitation
impl RefUnwindSafe for SearchCitation
impl Send for SearchCitation
impl Sync for SearchCitation
impl Unpin for SearchCitation
impl UnsafeUnpin for SearchCitation
impl UnwindSafe for SearchCitation
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