Struct stremio_core::models::local_search::ImdbRating
source · pub struct ImdbRating(f64);
Expand description
With a scale between 0 and 10 in either a floating or whole numbers
Tuple Fields§
§0: f64
Implementations§
Trait Implementations§
source§impl Clone for ImdbRating
impl Clone for ImdbRating
source§fn clone(&self) -> ImdbRating
fn clone(&self) -> ImdbRating
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 ImdbRating
impl Debug for ImdbRating
source§impl Default for ImdbRating
impl Default for ImdbRating
source§fn default() -> ImdbRating
fn default() -> ImdbRating
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImdbRating
impl<'de> Deserialize<'de> for ImdbRating
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
source§impl FromStr for ImdbRating
impl FromStr for ImdbRating
source§impl PartialEq for ImdbRating
impl PartialEq for ImdbRating
source§impl PartialOrd for ImdbRating
impl PartialOrd for ImdbRating
source§impl Serialize for ImdbRating
impl Serialize for ImdbRating
source§impl TryFrom<String> for ImdbRating
impl TryFrom<String> for ImdbRating
source§impl TryFrom<f64> for ImdbRating
impl TryFrom<f64> for ImdbRating
impl Copy for ImdbRating
impl StructuralPartialEq for ImdbRating
Auto Trait Implementations§
impl Freeze for ImdbRating
impl RefUnwindSafe for ImdbRating
impl Send for ImdbRating
impl Sync for ImdbRating
impl Unpin for ImdbRating
impl UnwindSafe for ImdbRating
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)