pub struct ValidatePostRequestPlatformsInner {
pub platform: Platform,
pub custom_content: Option<String>,
pub platform_specific_data: Option<Value>,
pub custom_media: Option<Vec<ValidatePostRequestPlatformsInnerCustomMediaInner>>,
}Fields§
§platform: Platform§custom_content: Option<String>§platform_specific_data: Option<Value>§custom_media: Option<Vec<ValidatePostRequestPlatformsInnerCustomMediaInner>>Implementations§
Source§impl ValidatePostRequestPlatformsInner
impl ValidatePostRequestPlatformsInner
pub fn new(platform: Platform) -> ValidatePostRequestPlatformsInner
Trait Implementations§
Source§impl Clone for ValidatePostRequestPlatformsInner
impl Clone for ValidatePostRequestPlatformsInner
Source§fn clone(&self) -> ValidatePostRequestPlatformsInner
fn clone(&self) -> ValidatePostRequestPlatformsInner
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 Default for ValidatePostRequestPlatformsInner
impl Default for ValidatePostRequestPlatformsInner
Source§fn default() -> ValidatePostRequestPlatformsInner
fn default() -> ValidatePostRequestPlatformsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidatePostRequestPlatformsInner
impl<'de> Deserialize<'de> for ValidatePostRequestPlatformsInner
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 ValidatePostRequestPlatformsInner
impl PartialEq for ValidatePostRequestPlatformsInner
Source§fn eq(&self, other: &ValidatePostRequestPlatformsInner) -> bool
fn eq(&self, other: &ValidatePostRequestPlatformsInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValidatePostRequestPlatformsInner
Auto Trait Implementations§
impl Freeze for ValidatePostRequestPlatformsInner
impl RefUnwindSafe for ValidatePostRequestPlatformsInner
impl Send for ValidatePostRequestPlatformsInner
impl Sync for ValidatePostRequestPlatformsInner
impl Unpin for ValidatePostRequestPlatformsInner
impl UnsafeUnpin for ValidatePostRequestPlatformsInner
impl UnwindSafe for ValidatePostRequestPlatformsInner
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