pub struct Topic {
pub id: String,
pub created_at: String,
pub updated_at: String,
pub name: String,
pub email_total: usize,
pub sms_total: usize,
pub push_total: usize,
pub subscribe: Vec<Value>,
}Expand description
Topic
Fields§
§id: StringTopic ID.
created_at: StringMessage creation time in ISO 8601 format.
updated_at: StringMessage update date in ISO 8601 format.
name: StringThe name of the topic.
email_total: usizeTotal count of email subscribers subscribed to the topic.
sms_total: usizeTotal count of SMS subscribers subscribed to the topic.
push_total: usizeTotal count of push subscribers subscribed to the topic.
subscribe: Vec<Value>Subscribe permissions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Topic
impl<'de> Deserialize<'de> for Topic
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
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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