pub struct SportMetadata {
pub id: u64,
pub sport: String,
pub image: Option<String>,
pub resolution: Option<String>,
pub ordering: Option<String>,
pub tags: Option<String>,
pub series: Option<String>,
pub created_at: Option<String>,
}Expand description
Sports metadata
Fields§
§id: u64§sport: String§image: Option<String>§resolution: Option<String>§ordering: Option<String>§series: Option<String>§created_at: Option<String>Trait Implementations§
Source§impl Clone for SportMetadata
impl Clone for SportMetadata
Source§fn clone(&self) -> SportMetadata
fn clone(&self) -> SportMetadata
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 Debug for SportMetadata
impl Debug for SportMetadata
Source§impl<'de> Deserialize<'de> for SportMetadata
impl<'de> Deserialize<'de> for SportMetadata
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 SportMetadata
impl RefUnwindSafe for SportMetadata
impl Send for SportMetadata
impl Sync for SportMetadata
impl Unpin for SportMetadata
impl UnwindSafe for SportMetadata
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