pub struct CollectionManifest {
pub slug: String,
pub name: String,
pub summary: Option<String>,
pub description: Option<String>,
pub author: CollectionAuthor,
pub game: CollectionGame,
pub mods: Vec<CollectionMod>,
pub version: CollectionVersion,
pub endorsements: u64,
pub image_url: Option<String>,
}Expand description
Nexus Collections API response for /v1/collections.
Fields§
§slug: String§name: String§summary: Option<String>§description: Option<String>§game: CollectionGame§mods: Vec<CollectionMod>§version: CollectionVersion§endorsements: u64§image_url: Option<String>Trait Implementations§
Source§impl Clone for CollectionManifest
impl Clone for CollectionManifest
Source§fn clone(&self) -> CollectionManifest
fn clone(&self) -> CollectionManifest
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 CollectionManifest
impl Debug for CollectionManifest
Source§impl<'de> Deserialize<'de> for CollectionManifest
impl<'de> Deserialize<'de> for CollectionManifest
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 CollectionManifest
impl RefUnwindSafe for CollectionManifest
impl Send for CollectionManifest
impl Sync for CollectionManifest
impl Unpin for CollectionManifest
impl UnsafeUnpin for CollectionManifest
impl UnwindSafe for CollectionManifest
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