pub struct StoryAlbum {
pub id: i32,
pub name: String,
pub photo_icon: Option<Photo>,
pub video_icon: Option<Video>,
}Expand description
Describes album of stories
Fields§
§id: i32Unique identifier of the album
name: StringName of the album
photo_icon: Option<Photo>Icon of the album; may be null if none
video_icon: Option<Video>Video icon of the album; may be null if none
Trait Implementations§
Source§impl Clone for StoryAlbum
impl Clone for StoryAlbum
Source§fn clone(&self) -> StoryAlbum
fn clone(&self) -> StoryAlbum
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 StoryAlbum
impl Debug for StoryAlbum
Source§impl<'de> Deserialize<'de> for StoryAlbum
impl<'de> Deserialize<'de> for StoryAlbum
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 StoryAlbum
impl PartialEq for StoryAlbum
Source§impl Serialize for StoryAlbum
impl Serialize for StoryAlbum
impl StructuralPartialEq for StoryAlbum
Auto Trait Implementations§
impl Freeze for StoryAlbum
impl RefUnwindSafe for StoryAlbum
impl Send for StoryAlbum
impl Sync for StoryAlbum
impl Unpin for StoryAlbum
impl UnsafeUnpin for StoryAlbum
impl UnwindSafe for StoryAlbum
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