pub struct NewsResult {
pub position: Option<u32>,
pub title: String,
pub link: String,
pub source: Option<String>,
pub date: Option<String>,
pub snippet: Option<String>,
pub thumbnail: Option<String>,
}
Expand description
News result
Fields§
§position: Option<u32>
§title: String
§link: String
§source: Option<String>
§date: Option<String>
§snippet: Option<String>
§thumbnail: Option<String>
Trait Implementations§
Source§impl Clone for NewsResult
impl Clone for NewsResult
Source§fn clone(&self) -> NewsResult
fn clone(&self) -> NewsResult
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 NewsResult
impl Debug for NewsResult
Source§impl<'de> Deserialize<'de> for NewsResult
impl<'de> Deserialize<'de> for NewsResult
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 NewsResult
impl RefUnwindSafe for NewsResult
impl Send for NewsResult
impl Sync for NewsResult
impl Unpin for NewsResult
impl UnwindSafe for NewsResult
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