pub struct JigCodeResponse {
pub index: JigCode,
pub jig_id: JigId,
pub name: Option<String>,
pub settings: JigPlayerSettings,
pub created_at: DateTime<Utc>,
pub expires_at: DateTime<Utc>,
}
Expand description
Over-the-wire representation of a jig player session
Fields§
§index: JigCode
Four-digit code identifying a Jig player session
jig_id: JigId
Id of Jig this code is for.
name: Option<String>
Display name.
settings: JigPlayerSettings
Settings for the player session.
created_at: DateTime<Utc>
When the code was created
expires_at: DateTime<Utc>
When the code expires
Trait Implementations§
Source§impl Clone for JigCodeResponse
impl Clone for JigCodeResponse
Source§fn clone(&self) -> JigCodeResponse
fn clone(&self) -> JigCodeResponse
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 JigCodeResponse
impl Debug for JigCodeResponse
Source§impl<'de> Deserialize<'de> for JigCodeResponse
impl<'de> Deserialize<'de> for JigCodeResponse
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 JigCodeResponse
impl RefUnwindSafe for JigCodeResponse
impl Send for JigCodeResponse
impl Sync for JigCodeResponse
impl Unpin for JigCodeResponse
impl UnwindSafe for JigCodeResponse
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