pub struct NewsCategory {
pub type_: String,
pub id: i32,
pub name: String,
pub filter: Option<CategoryFilter>,
pub status: String,
pub created_on: i64,
pub updated_on: Option<i64>,
}Expand description
News: Categories
Fields§
§type_: StringType of the message.
id: i32The unique identifier for the news category entry.
name: StringThe name of the news category.
filter: Option<CategoryFilter>The filters for the news category.
status: StringThe status for the News category entry. Allowed values: ACTIVE, INACTIVE.
created_on: i64News category internal creation unix ts in our system
updated_on: Option<i64>News category internal last updated unix ts in our system.
Trait Implementations§
Source§impl Clone for NewsCategory
impl Clone for NewsCategory
Source§fn clone(&self) -> NewsCategory
fn clone(&self) -> NewsCategory
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 NewsCategory
impl Debug for NewsCategory
Source§impl<'de> Deserialize<'de> for NewsCategory
impl<'de> Deserialize<'de> for NewsCategory
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 NewsCategory
impl RefUnwindSafe for NewsCategory
impl Send for NewsCategory
impl Sync for NewsCategory
impl Unpin for NewsCategory
impl UnsafeUnpin for NewsCategory
impl UnwindSafe for NewsCategory
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