[−][src]Struct rustfm_scrobble::responses::values::CorrectableString
Represents a string that can be marked as 'corrected' by the Last.fm API.
All Scrobble/NowPlaying responses have their fields as CorrectableString
's. The API will sometimes change
the artist/song name/album name data that you have submitted. For example - it is common for Bjork to be turned
into Björk by the API; the modified artist field would be marked corrected = true
, `text = "Björk".
Most clients can ignore these corrections, but the information is exposed for clients that require it.
Fields
corrected: bool
text: String
Trait Implementations
impl Debug for CorrectableString
[src]
impl<'de> Deserialize<'de> for CorrectableString
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for CorrectableString
[src]
Auto Trait Implementations
impl RefUnwindSafe for CorrectableString
[src]
impl Send for CorrectableString
[src]
impl Sync for CorrectableString
[src]
impl Unpin for CorrectableString
[src]
impl UnwindSafe for CorrectableString
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,