pub struct CreatableProjectGalleryItem {
pub item: Option<String>,
pub featured: Option<bool>,
pub title: Option<Option<String>>,
pub description: Option<Option<String>>,
pub ordering: Option<i32>,
}Fields§
§item: Option<String>The name of the multipart item where the gallery media is located
featured: Option<bool>Whether the image is featured in the gallery
title: Option<Option<String>>The title of the gallery image
description: Option<Option<String>>The description of the gallery image
ordering: Option<i32>The order of the gallery image. Gallery images are sorted by this field and then alphabetically by title.
Implementations§
Source§impl CreatableProjectGalleryItem
impl CreatableProjectGalleryItem
pub fn new() -> CreatableProjectGalleryItem
Trait Implementations§
Source§impl Clone for CreatableProjectGalleryItem
impl Clone for CreatableProjectGalleryItem
Source§fn clone(&self) -> CreatableProjectGalleryItem
fn clone(&self) -> CreatableProjectGalleryItem
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 CreatableProjectGalleryItem
impl Debug for CreatableProjectGalleryItem
Source§impl Default for CreatableProjectGalleryItem
impl Default for CreatableProjectGalleryItem
Source§fn default() -> CreatableProjectGalleryItem
fn default() -> CreatableProjectGalleryItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatableProjectGalleryItem
impl<'de> Deserialize<'de> for CreatableProjectGalleryItem
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
impl StructuralPartialEq for CreatableProjectGalleryItem
Auto Trait Implementations§
impl Freeze for CreatableProjectGalleryItem
impl RefUnwindSafe for CreatableProjectGalleryItem
impl Send for CreatableProjectGalleryItem
impl Sync for CreatableProjectGalleryItem
impl Unpin for CreatableProjectGalleryItem
impl UnwindSafe for CreatableProjectGalleryItem
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