pub struct WorkshopItem {Show 20 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: String,
pub file_url: Option<String>,
pub preview_url: String,
pub hcontent_file: 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>,
pub visibility: u8,
}
Fields§
§result: i8
§publishedfileid: String
§creator: String
§creator_app_id: u32
§consumer_app_id: u32
§filename: String
§file_size: String
§file_url: Option<String>
§preview_url: String
§hcontent_file: String
§hcontent_preview: String
§title: String
§description: String
§time_created: usize
§time_updated: usize
§subscriptions: u32
§favorited: u32
§views: u32
§visibility: u8
Trait Implementations§
Source§impl Clone for WorkshopItem
impl Clone for WorkshopItem
Source§fn clone(&self) -> WorkshopItem
fn clone(&self) -> WorkshopItem
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<'de> Deserialize<'de> for WorkshopItem
impl<'de> Deserialize<'de> for WorkshopItem
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
Source§impl Display for WorkshopItem
impl Display for WorkshopItem
Source§impl PartialEq for WorkshopItem
impl PartialEq for WorkshopItem
Source§impl Serialize for WorkshopItem
impl Serialize for WorkshopItem
impl StructuralPartialEq for WorkshopItem
Auto Trait Implementations§
impl Freeze for WorkshopItem
impl RefUnwindSafe for WorkshopItem
impl Send for WorkshopItem
impl Sync for WorkshopItem
impl Unpin for WorkshopItem
impl UnwindSafe for WorkshopItem
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.