pub struct SnapchatPlatformData {
pub content_type: Option<ContentType>,
}Expand description
SnapchatPlatformData : Requires a Public Profile. Single media item only. Content types: story (ephemeral 24h), saved_story (permanent, title max 45 chars), spotlight (video, max 160 chars).
Fields§
§content_type: Option<ContentType>Content type: story (ephemeral 24h, default), saved_story (permanent on Public Profile), spotlight (video feed)
Implementations§
Source§impl SnapchatPlatformData
impl SnapchatPlatformData
Sourcepub fn new() -> SnapchatPlatformData
pub fn new() -> SnapchatPlatformData
Requires a Public Profile. Single media item only. Content types: story (ephemeral 24h), saved_story (permanent, title max 45 chars), spotlight (video, max 160 chars).
Trait Implementations§
Source§impl Clone for SnapchatPlatformData
impl Clone for SnapchatPlatformData
Source§fn clone(&self) -> SnapchatPlatformData
fn clone(&self) -> SnapchatPlatformData
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 SnapchatPlatformData
impl Debug for SnapchatPlatformData
Source§impl Default for SnapchatPlatformData
impl Default for SnapchatPlatformData
Source§fn default() -> SnapchatPlatformData
fn default() -> SnapchatPlatformData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapchatPlatformData
impl<'de> Deserialize<'de> for SnapchatPlatformData
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 SnapchatPlatformData
impl PartialEq for SnapchatPlatformData
Source§fn eq(&self, other: &SnapchatPlatformData) -> bool
fn eq(&self, other: &SnapchatPlatformData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapchatPlatformData
impl Serialize for SnapchatPlatformData
impl StructuralPartialEq for SnapchatPlatformData
Auto Trait Implementations§
impl Freeze for SnapchatPlatformData
impl RefUnwindSafe for SnapchatPlatformData
impl Send for SnapchatPlatformData
impl Sync for SnapchatPlatformData
impl Unpin for SnapchatPlatformData
impl UnsafeUnpin for SnapchatPlatformData
impl UnwindSafe for SnapchatPlatformData
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