pub struct LivestreamCategory {
pub id: u64,
pub name: String,
pub slug: String,
pub tags: Vec<String>,
}Expand description
Category information for a livestream.
Fields§
§id: u64Category ID
name: StringCategory name (e.g., “Just Chatting”)
slug: StringCategory URL slug
Category tags
Trait Implementations§
Source§impl Clone for LivestreamCategory
impl Clone for LivestreamCategory
Source§fn clone(&self) -> LivestreamCategory
fn clone(&self) -> LivestreamCategory
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 LivestreamCategory
impl Debug for LivestreamCategory
Source§impl<'de> Deserialize<'de> for LivestreamCategory
impl<'de> Deserialize<'de> for LivestreamCategory
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 LivestreamCategory
impl RefUnwindSafe for LivestreamCategory
impl Send for LivestreamCategory
impl Sync for LivestreamCategory
impl Unpin for LivestreamCategory
impl UnsafeUnpin for LivestreamCategory
impl UnwindSafe for LivestreamCategory
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