pub struct PublishedFileDetails {Show 22 fields
pub publishedfileid: u64,
pub creator: Option<SteamID>,
pub consumer_appid: u32,
pub creator_appid: u32,
pub title: String,
pub description: String,
pub filename: String,
pub file_size: u64,
pub preview_url: Option<String>,
pub time_created: u32,
pub time_updated: u32,
pub visibility: u32,
pub banned: bool,
pub ban_reason: Option<String>,
pub subscriptions: u64,
pub favorited: u64,
pub lifetime_subscriptions: u64,
pub lifetime_favorited: u64,
pub views: u64,
pub tags: Vec<String>,
pub kvtags: HashMap<String, String>,
pub vote_data: Option<VoteData>,
}Expand description
Published file (Workshop item) details.
Fields§
§publishedfileid: u64The published file ID.
creator: Option<SteamID>Creator’s SteamID.
consumer_appid: u32App ID this file is for.
creator_appid: u32App ID where this was published from.
title: StringTitle of the file.
description: StringDescription.
filename: StringFile name.
file_size: u64File size in bytes.
preview_url: Option<String>Preview URL.
time_created: u32Time created (Unix timestamp).
time_updated: u32Time updated (Unix timestamp).
visibility: u32Visibility status.
banned: boolWhether the file is banned.
ban_reason: Option<String>Ban reason if banned.
subscriptions: u64Number of subscriptions.
favorited: u64Number of favorites.
lifetime_subscriptions: u64Number of lifetime subscriptions.
lifetime_favorited: u64Number of lifetime favorites.
views: u64Number of views.
Tags associated with the file.
Key-value tags.
vote_data: Option<VoteData>Vote data.
Trait Implementations§
Source§impl Clone for PublishedFileDetails
impl Clone for PublishedFileDetails
Source§fn clone(&self) -> PublishedFileDetails
fn clone(&self) -> PublishedFileDetails
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 moreAuto Trait Implementations§
impl Freeze for PublishedFileDetails
impl RefUnwindSafe for PublishedFileDetails
impl Send for PublishedFileDetails
impl Sync for PublishedFileDetails
impl Unpin for PublishedFileDetails
impl UnsafeUnpin for PublishedFileDetails
impl UnwindSafe for PublishedFileDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more