Struct steam_workshop_api::WorkshopItem[][src]

pub struct WorkshopItem {
Show fields pub result: i8, pub publishedfileid: String, pub creator: String, pub creator_app_id: u32, pub consumer_app_id: u32, pub filename: String, pub file_size: u64, pub file_url: String, pub preview_url: String, pub hcontent_preview: String, pub title: String, pub description: String, pub time_created: usize, pub time_updated: usize, pub subscriptions: u32, pub favorited: u32, pub views: u32, pub tags: Vec<WorkshopItemTag>,
}

Fields

result: i8publishedfileid: Stringcreator: Stringcreator_app_id: u32consumer_app_id: u32filename: Stringfile_size: u64file_url: Stringpreview_url: Stringhcontent_preview: Stringtitle: Stringdescription: Stringtime_created: usizetime_updated: usizesubscriptions: u32favorited: u32views: u32tags: Vec<WorkshopItemTag>

Implementations

Converts from a WorkshopItem to a WorkshopSearchItem

Converts to a WorkshopItem from a WorkshopSearchItem

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.