pub struct InputStoryContentPhoto {
pub photo: String,
}Expand description
A photo to post as a story.
Fields§
§photo: StringThe photo to post.
Must be 1080×1920 pixels, ≤10 MB.
Pass a file_id, HTTP URL, or "attach://<name>" for a multipart upload.
Trait Implementations§
Source§impl Clone for InputStoryContentPhoto
impl Clone for InputStoryContentPhoto
Source§fn clone(&self) -> InputStoryContentPhoto
fn clone(&self) -> InputStoryContentPhoto
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 InputStoryContentPhoto
impl Debug for InputStoryContentPhoto
Source§impl<'de> Deserialize<'de> for InputStoryContentPhoto
impl<'de> Deserialize<'de> for InputStoryContentPhoto
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 InputStoryContentPhoto
impl RefUnwindSafe for InputStoryContentPhoto
impl Send for InputStoryContentPhoto
impl Sync for InputStoryContentPhoto
impl Unpin for InputStoryContentPhoto
impl UnsafeUnpin for InputStoryContentPhoto
impl UnwindSafe for InputStoryContentPhoto
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