pub struct ResearchSource {
pub title: String,
pub url: String,
pub snippet: Option<String>,
}Expand description
A source used in the research
Fields§
§title: String§url: String§snippet: Option<String>Trait Implementations§
Source§impl Clone for ResearchSource
impl Clone for ResearchSource
Source§fn clone(&self) -> ResearchSource
fn clone(&self) -> ResearchSource
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 ResearchSource
impl Debug for ResearchSource
Source§impl<'de> Deserialize<'de> for ResearchSource
impl<'de> Deserialize<'de> for ResearchSource
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 ResearchSource
impl RefUnwindSafe for ResearchSource
impl Send for ResearchSource
impl Sync for ResearchSource
impl Unpin for ResearchSource
impl UnwindSafe for ResearchSource
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