pub enum StarsRating {
StarsRating(StarsRating),
}Expand description
Variants§
StarsRating(StarsRating)
Trait Implementations§
Source§impl Clone for StarsRating
impl Clone for StarsRating
Source§fn clone(&self) -> StarsRating
fn clone(&self) -> StarsRating
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 StarsRating
impl Debug for StarsRating
Source§impl Deserializable for StarsRating
impl Deserializable for StarsRating
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<StarsRating> for StarsRating
impl From<StarsRating> for StarsRating
Source§fn from(x: StarsRating) -> Self
fn from(x: StarsRating) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StarsRating
impl PartialEq for StarsRating
Source§impl Serializable for StarsRating
impl Serializable for StarsRating
Source§impl TryFrom<StarsRating> for StarsRating
impl TryFrom<StarsRating> for StarsRating
Source§type Error = StarsRating
type Error = StarsRating
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarsRating
Auto Trait Implementations§
impl Freeze for StarsRating
impl RefUnwindSafe for StarsRating
impl Send for StarsRating
impl Sync for StarsRating
impl Unpin for StarsRating
impl UnsafeUnpin for StarsRating
impl UnwindSafe for StarsRating
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