pub struct Subscriber {
pub id: String,
pub created_at: String,
pub updated_at: String,
pub target_id: String,
pub target: Target,
pub user_id: String,
pub user_name: String,
pub topic_id: String,
pub provider_type: String,
}Expand description
Subscriber
Fields§
§id: StringSubscriber ID.
created_at: StringSubscriber creation time in ISO 8601 format.
updated_at: StringSubscriber update date in ISO 8601 format.
target_id: StringTarget ID.
target: TargetTarget.
user_id: StringTopic ID.
user_name: StringUser Name.
topic_id: StringTopic ID.
provider_type: StringThe target provider type. Can be one of the following: email, sms or
push.
Implementations§
Source§impl Subscriber
impl Subscriber
Sourcepub fn created_at(&self) -> &String
pub fn created_at(&self) -> &String
Get created_at
Sourcepub fn updated_at(&self) -> &String
pub fn updated_at(&self) -> &String
Get updated_at
Sourcepub fn provider_type(&self) -> &String
pub fn provider_type(&self) -> &String
Get provider_type
Trait Implementations§
Source§impl Clone for Subscriber
impl Clone for Subscriber
Source§fn clone(&self) -> Subscriber
fn clone(&self) -> Subscriber
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Subscriber
impl Debug for Subscriber
Source§impl<'de> Deserialize<'de> for Subscriber
impl<'de> Deserialize<'de> for Subscriber
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 Serialize for Subscriber
impl Serialize for Subscriber
impl Model for Subscriber
Auto Trait Implementations§
impl Freeze for Subscriber
impl RefUnwindSafe for Subscriber
impl Send for Subscriber
impl Sync for Subscriber
impl Unpin for Subscriber
impl UnsafeUnpin for Subscriber
impl UnwindSafe for Subscriber
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