pub struct FeedSource(pub String);Expand description
Identifies a feed source (e.g. “gdelt”, “usgs-earthquakes”).
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for FeedSource
impl Clone for FeedSource
Source§fn clone(&self) -> FeedSource
fn clone(&self) -> FeedSource
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 FeedSource
impl Debug for FeedSource
Source§impl<'de> Deserialize<'de> for FeedSource
impl<'de> Deserialize<'de> for FeedSource
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
Source§impl Display for FeedSource
impl Display for FeedSource
Source§impl Hash for FeedSource
impl Hash for FeedSource
Source§impl PartialEq for FeedSource
impl PartialEq for FeedSource
Source§impl Serialize for FeedSource
impl Serialize for FeedSource
impl Eq for FeedSource
impl StructuralPartialEq for FeedSource
Auto Trait Implementations§
impl Freeze for FeedSource
impl RefUnwindSafe for FeedSource
impl Send for FeedSource
impl Sync for FeedSource
impl Unpin for FeedSource
impl UnsafeUnpin for FeedSource
impl UnwindSafe for FeedSource
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