pub struct CCNewsSource {Show 15 fields
pub type_: String,
pub id: i32,
pub source_key: String,
pub name: String,
pub image_url: String,
pub url: String,
pub lang: String,
pub source_type: String,
pub launch_date: Option<i64>,
pub sort_order: i32,
pub benchmark_score: i32,
pub status: String,
pub last_updated_ts: i64,
pub created_on: i64,
pub updated_on: i64,
}Expand description
News: Sources
Fields§
§type_: StringType of the message.
id: i32The unique identifier for the news source entry.
source_key: StringThe unique key for a news source.
name: StringThe name of the news source“.
image_url: StringThe image url for the article source.
url: StringThe URL of the news source.
lang: StringThe Article Source Preferred language - English (EN), Portuguese (PT), Espanol (ES), Turkish (TR), French (FR).
source_type: StringRSS, API, TWITTER.
launch_date: Option<i64>The launch date of the source is indicated as (yyyy-mm-dd).
sort_order: i32Internal sort order of the source to define the field overwrites.
benchmark_score: i32§status: StringThe status for the Article Source entry. Allowed values: ACTIVE, INACTIVE“.
last_updated_ts: i64The last script update timestamp for this article source.
created_on: i64Article Source internal creation unix ts in our system.
updated_on: i64Article Source internal last updated unix ts in our system.
Trait Implementations§
Source§impl Debug for CCNewsSource
impl Debug for CCNewsSource
Source§impl<'de> Deserialize<'de> for CCNewsSource
impl<'de> Deserialize<'de> for CCNewsSource
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 CCNewsSource
impl RefUnwindSafe for CCNewsSource
impl Send for CCNewsSource
impl Sync for CCNewsSource
impl Unpin for CCNewsSource
impl UnwindSafe for CCNewsSource
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