Struct steamworks::QueryResult
source · pub struct QueryResult {Show 21 fields
pub published_file_id: PublishedFileId,
pub creator_app_id: Option<AppId>,
pub consumer_app_id: Option<AppId>,
pub title: String,
pub description: String,
pub owner: SteamId,
pub time_created: u32,
pub time_updated: u32,
pub time_added_to_user_list: u32,
pub visibility: PublishedFileVisibility,
pub banned: bool,
pub accepted_for_use: bool,
pub tags: Vec<String>,
pub tags_truncated: bool,
pub file_type: FileType,
pub file_size: u32,
pub url: String,
pub num_upvotes: u32,
pub num_downvotes: u32,
pub score: f32,
pub num_children: u32,
}
Expand description
Query result
Fields§
§published_file_id: PublishedFileId
§creator_app_id: Option<AppId>
§consumer_app_id: Option<AppId>
§title: String
§description: String
§owner: SteamId
§time_created: u32
Time created in unix epoch seconds format
time_updated: u32
Time updated in unix epoch seconds format
time_added_to_user_list: u32
Time when the user added the published item to their list (not always applicable), provided in Unix epoch format (time since Jan 1st, 1970).
visibility: PublishedFileVisibility
§banned: bool
§accepted_for_use: bool
§file_type: FileType
§file_size: u32
§url: String
§num_upvotes: u32
§num_downvotes: u32
§score: f32
The bayesian average for up votes / total votes, between [0,1].
num_children: u32
Trait Implementations§
source§impl Clone for QueryResult
impl Clone for QueryResult
source§fn clone(&self) -> QueryResult
fn clone(&self) -> QueryResult
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for QueryResult
impl Send for QueryResult
impl Sync for QueryResult
impl Unpin for QueryResult
impl UnwindSafe for QueryResult
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