pub struct WebhookPayloadPostPost {
pub id: String,
pub content: String,
pub status: String,
pub scheduled_for: String,
pub published_at: Option<String>,
pub platforms: Vec<WebhookPayloadPostPostPlatformsInner>,
}Fields§
§id: String§content: String§status: String§scheduled_for: String§published_at: Option<String>§platforms: Vec<WebhookPayloadPostPostPlatformsInner>Implementations§
Source§impl WebhookPayloadPostPost
impl WebhookPayloadPostPost
pub fn new( id: String, content: String, status: String, scheduled_for: String, platforms: Vec<WebhookPayloadPostPostPlatformsInner>, ) -> WebhookPayloadPostPost
Trait Implementations§
Source§impl Clone for WebhookPayloadPostPost
impl Clone for WebhookPayloadPostPost
Source§fn clone(&self) -> WebhookPayloadPostPost
fn clone(&self) -> WebhookPayloadPostPost
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 WebhookPayloadPostPost
impl Debug for WebhookPayloadPostPost
Source§impl Default for WebhookPayloadPostPost
impl Default for WebhookPayloadPostPost
Source§fn default() -> WebhookPayloadPostPost
fn default() -> WebhookPayloadPostPost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPayloadPostPost
impl<'de> Deserialize<'de> for WebhookPayloadPostPost
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 PartialEq for WebhookPayloadPostPost
impl PartialEq for WebhookPayloadPostPost
Source§fn eq(&self, other: &WebhookPayloadPostPost) -> bool
fn eq(&self, other: &WebhookPayloadPostPost) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebhookPayloadPostPost
impl Serialize for WebhookPayloadPostPost
impl StructuralPartialEq for WebhookPayloadPostPost
Auto Trait Implementations§
impl Freeze for WebhookPayloadPostPost
impl RefUnwindSafe for WebhookPayloadPostPost
impl Send for WebhookPayloadPostPost
impl Sync for WebhookPayloadPostPost
impl Unpin for WebhookPayloadPostPost
impl UnsafeUnpin for WebhookPayloadPostPost
impl UnwindSafe for WebhookPayloadPostPost
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