pub struct Studio {
pub id: i64,
pub name: String,
pub is_animation_studio: bool,
pub url: String,
pub is_favourite: Option<bool>,
pub favourites: i64,
}
Expand description
Represents a studio with various attributes.
The Studio
struct contains detailed information about a studio,
including its ID, name, whether it is an animation studio, URL,
whether it is a favorite, and the number of favorites.
§Fields
id
- The ID of the studio.name
- The name of the studio.is_animation_studio
- Whether the studio is an animation studio.url
- The URL of the studio.is_favourite
- An optional boolean indicating if the studio is a favorite.favourites
- The number of favorites the studio has.
Fields§
§id: i64
The ID of the studio.
name: String
The name of the studio.
is_animation_studio: bool
Whether the studio is an animation studio.
url: String
The URL of the studio.
is_favourite: Option<bool>
Whether the studio is a favorite.
favourites: i64
The number of favorites the studio has.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Studio
impl<'de> Deserialize<'de> for Studio
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
impl StructuralPartialEq for Studio
Auto Trait Implementations§
impl Freeze for Studio
impl RefUnwindSafe for Studio
impl Send for Studio
impl Sync for Studio
impl Unpin for Studio
impl UnwindSafe for Studio
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