pub enum FetchStrategy {
MusicBrainzFirst,
LastFmFirst,
MusicBrainzOnly,
LastFmOnly,
}Variants§
Trait Implementations§
Source§impl Clone for FetchStrategy
impl Clone for FetchStrategy
Source§fn clone(&self) -> FetchStrategy
fn clone(&self) -> FetchStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FetchStrategy
Source§impl Debug for FetchStrategy
impl Debug for FetchStrategy
Source§impl Default for FetchStrategy
impl Default for FetchStrategy
Source§fn default() -> FetchStrategy
fn default() -> FetchStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FetchStrategy
impl<'de> Deserialize<'de> for FetchStrategy
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 Eq for FetchStrategy
Source§impl PartialEq for FetchStrategy
impl PartialEq for FetchStrategy
Source§fn eq(&self, other: &FetchStrategy) -> bool
fn eq(&self, other: &FetchStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FetchStrategy
impl Serialize for FetchStrategy
impl StructuralPartialEq for FetchStrategy
Auto Trait Implementations§
impl Freeze for FetchStrategy
impl RefUnwindSafe for FetchStrategy
impl Send for FetchStrategy
impl Sync for FetchStrategy
impl Unpin for FetchStrategy
impl UnsafeUnpin for FetchStrategy
impl UnwindSafe for FetchStrategy
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