pub struct WebhookPost {Show 47 fields
pub admin: bool,
pub avatar_template: String,
pub bookmarked: bool,
pub category_id: i32,
pub category_slug: String,
pub cooked: String,
pub created_at: DateTime<Utc>,
pub deleted_at: Option<DateTime<Utc>>,
pub deleted_by: Option<WebhookUser>,
pub display_username: Option<String>,
pub edit_reason: Option<String>,
pub flair_group_id: Option<i32>,
pub flair_name: Option<String>,
pub hidden: bool,
pub id: i32,
pub incoming_link_count: i32,
pub moderator: bool,
pub name: Option<String>,
pub post_number: i32,
pub post_type: i32,
pub post_url: String,
pub posts_count: i32,
pub primary_group_name: Option<String>,
pub quote_count: i32,
pub raw: String,
pub reads: i32,
pub reply_count: i32,
pub reply_to_post_number: Option<i32>,
pub reviewable_id: Option<i32>,
pub reviewable_score_count: i32,
pub reviewable_score_pending_count: i32,
pub score: f64,
pub staff: bool,
pub topic_archetype: String,
pub topic_filtered_posts_count: i32,
pub topic_id: i32,
pub topic_posts_count: i32,
pub topic_slug: String,
pub topic_title: String,
pub trust_level: i32,
pub updated_at: DateTime<Utc>,
pub user_deleted: bool,
pub user_id: i32,
pub user_title: Option<String>,
pub username: String,
pub version: i32,
pub wiki: bool,
}
Fields§
§admin: bool
§avatar_template: String
§bookmarked: bool
§category_id: i32
§category_slug: String
§cooked: String
§created_at: DateTime<Utc>
§deleted_at: Option<DateTime<Utc>>
§deleted_by: Option<WebhookUser>
§display_username: Option<String>
§edit_reason: Option<String>
§flair_group_id: Option<i32>
§flair_name: Option<String>
§id: i32
§incoming_link_count: i32
§moderator: bool
§name: Option<String>
§post_number: i32
§post_type: i32
§post_url: String
§posts_count: i32
§primary_group_name: Option<String>
§quote_count: i32
§raw: String
§reads: i32
§reply_count: i32
§reply_to_post_number: Option<i32>
§reviewable_id: Option<i32>
§reviewable_score_count: i32
§reviewable_score_pending_count: i32
§score: f64
§staff: bool
§topic_archetype: String
§topic_filtered_posts_count: i32
§topic_id: i32
§topic_posts_count: i32
§topic_slug: String
§topic_title: String
§trust_level: i32
§updated_at: DateTime<Utc>
§user_deleted: bool
§user_id: i32
§user_title: Option<String>
§username: String
§version: i32
§wiki: bool
Trait Implementations§
Source§impl Clone for WebhookPost
impl Clone for WebhookPost
Source§fn clone(&self) -> WebhookPost
fn clone(&self) -> WebhookPost
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 WebhookPost
impl Debug for WebhookPost
Source§impl<'de> Deserialize<'de> for WebhookPost
impl<'de> Deserialize<'de> for WebhookPost
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 WebhookPost
impl RefUnwindSafe for WebhookPost
impl Send for WebhookPost
impl Sync for WebhookPost
impl Unpin for WebhookPost
impl UnwindSafe for WebhookPost
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