pub struct GqlModTile {
pub mod_id: u64,
pub name: String,
pub summary: Option<String>,
pub version: Option<String>,
pub author: Option<String>,
pub picture_url: Option<String>,
pub thumbnail_url: Option<String>,
pub endorsements: Option<u64>,
pub downloads: Option<u64>,
pub uploaded_at: Option<String>,
pub game_domain: Option<String>,
}Expand description
Response tile for the browse / search feeds. A slimmer view of a mod
than the REST NexusMod struct — this is what the UI card grid
renders, so it carries only what’s visible at a glance.
Fields§
§mod_id: u64§name: String§summary: Option<String>§version: Option<String>§picture_url: Option<String>§thumbnail_url: Option<String>§endorsements: Option<u64>§downloads: Option<u64>§uploaded_at: Option<String>§game_domain: Option<String>Nexus game domain (returned by the v2 schema). Optional because
some feed variants don’t include it; callers fall back to the
gameDomain they issued the query with.
Trait Implementations§
Source§impl Clone for GqlModTile
impl Clone for GqlModTile
Source§fn clone(&self) -> GqlModTile
fn clone(&self) -> GqlModTile
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 GqlModTile
impl Debug for GqlModTile
Source§impl<'de> Deserialize<'de> for GqlModTile
impl<'de> Deserialize<'de> for GqlModTile
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 GqlModTile
impl RefUnwindSafe for GqlModTile
impl Send for GqlModTile
impl Sync for GqlModTile
impl Unpin for GqlModTile
impl UnsafeUnpin for GqlModTile
impl UnwindSafe for GqlModTile
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