pub struct PinterestPlatformData {
pub title: Option<String>,
pub board_id: Option<String>,
pub link: Option<String>,
pub cover_image_url: Option<String>,
pub cover_image_key_frame_time: Option<i32>,
}Fields§
§title: Option<String>Pin title. Defaults to first line of content or "Pin". Must be ≤ 100 characters.
board_id: Option<String>Target Pinterest board ID. If omitted, the first available board is used.
link: Option<String>Destination link (pin URL)
cover_image_url: Option<String>Optional cover image for video pins
cover_image_key_frame_time: Option<i32>Optional key frame time in seconds for derived video cover
Implementations§
Source§impl PinterestPlatformData
impl PinterestPlatformData
pub fn new() -> PinterestPlatformData
Trait Implementations§
Source§impl Clone for PinterestPlatformData
impl Clone for PinterestPlatformData
Source§fn clone(&self) -> PinterestPlatformData
fn clone(&self) -> PinterestPlatformData
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 PinterestPlatformData
impl Debug for PinterestPlatformData
Source§impl Default for PinterestPlatformData
impl Default for PinterestPlatformData
Source§fn default() -> PinterestPlatformData
fn default() -> PinterestPlatformData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PinterestPlatformData
impl<'de> Deserialize<'de> for PinterestPlatformData
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 PinterestPlatformData
impl PartialEq for PinterestPlatformData
Source§impl Serialize for PinterestPlatformData
impl Serialize for PinterestPlatformData
impl StructuralPartialEq for PinterestPlatformData
Auto Trait Implementations§
impl Freeze for PinterestPlatformData
impl RefUnwindSafe for PinterestPlatformData
impl Send for PinterestPlatformData
impl Sync for PinterestPlatformData
impl Unpin for PinterestPlatformData
impl UnsafeUnpin for PinterestPlatformData
impl UnwindSafe for PinterestPlatformData
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