pub struct AdminJigExport {Show 14 fields
pub id: JigId,
pub description: String,
pub display_name: String,
pub premium: bool,
pub blocked: bool,
pub author_id: Option<UserId>,
pub author_name: Option<String>,
pub likes: i64,
pub plays: i64,
pub rating: Option<JigRating>,
pub privacy_level: PrivacyLevel,
pub created_at: DateTime<Utc>,
pub published_at: Option<DateTime<Utc>>,
pub language: String,
}
Expand description
A jigs export representation.
Fields§
§id: JigId
JIG ID
description: String
Description of the jig.
display_name: String
The JIG’s name.
Whether the resource is a premium resource
blocked: bool
if true does not appear in search
The current author
The author’s name, as “{given_name} {family_name}”.
likes: i64
Number of likes on Jig
plays: i64
Number of plays Jig
rating: Option<JigRating>
Rating for jig, weighted for jig search
privacy_level: PrivacyLevel
The privacy level on the JIG.
created_at: DateTime<Utc>
When the JIG was first created.
published_at: Option<DateTime<Utc>>
When (if at all) the JIG has published a draft to live.
language: String
The language the jig uses.
Trait Implementations§
Source§impl Clone for AdminJigExport
impl Clone for AdminJigExport
Source§fn clone(&self) -> AdminJigExport
fn clone(&self) -> AdminJigExport
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 moreSource§impl Debug for AdminJigExport
impl Debug for AdminJigExport
Source§impl<'de> Deserialize<'de> for AdminJigExport
impl<'de> Deserialize<'de> for AdminJigExport
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 AdminJigExport
impl RefUnwindSafe for AdminJigExport
impl Send for AdminJigExport
impl Sync for AdminJigExport
impl Unpin for AdminJigExport
impl UnwindSafe for AdminJigExport
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