pub struct SnippetHit {
pub snippet_id: i64,
pub file_path: String,
pub symbol_name: Option<String>,
pub content: String,
}Fields§
§snippet_id: i64§file_path: String§symbol_name: Option<String>§content: StringTrait Implementations§
Source§impl Clone for SnippetHit
impl Clone for SnippetHit
Source§fn clone(&self) -> SnippetHit
fn clone(&self) -> SnippetHit
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 SnippetHit
impl Debug for SnippetHit
Source§impl<'de> Deserialize<'de> for SnippetHit
impl<'de> Deserialize<'de> for SnippetHit
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 SnippetHit
impl RefUnwindSafe for SnippetHit
impl Send for SnippetHit
impl Sync for SnippetHit
impl Unpin for SnippetHit
impl UnsafeUnpin for SnippetHit
impl UnwindSafe for SnippetHit
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