pub struct MediaGallery {
pub id: Option<i32>,
pub items: Vec<MediaGalleryItem>,
}
Expand description
Component used to organize a set of MediaGalleryItem
s.
Fields§
§id: Option<i32>
Optional identifier for the media gallery.
items: Vec<MediaGalleryItem>
1 to 10 media gallery items.
Trait Implementations§
Source§impl Clone for MediaGallery
impl Clone for MediaGallery
Source§fn clone(&self) -> MediaGallery
fn clone(&self) -> MediaGallery
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 MediaGallery
impl Debug for MediaGallery
Source§impl<'de> Deserialize<'de> for MediaGallery
impl<'de> Deserialize<'de> for MediaGallery
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 From<MediaGallery> for Component
impl From<MediaGallery> for Component
Source§fn from(media_gallery: MediaGallery) -> Self
fn from(media_gallery: MediaGallery) -> Self
Converts to this type from the input type.
Source§impl Hash for MediaGallery
impl Hash for MediaGallery
Source§impl PartialEq for MediaGallery
impl PartialEq for MediaGallery
Source§impl Serialize for MediaGallery
impl Serialize for MediaGallery
impl Eq for MediaGallery
impl StructuralPartialEq for MediaGallery
Auto Trait Implementations§
impl Freeze for MediaGallery
impl RefUnwindSafe for MediaGallery
impl Send for MediaGallery
impl Sync for MediaGallery
impl Unpin for MediaGallery
impl UnwindSafe for MediaGallery
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