pub enum SourceAvailable {
True,
False,
}Expand description
Status of source availability.
Variants§
True
The source is available to play from.
For music services, this means that an account is logged-in and associated with the music service for it to be usable.
False
The source is NOT available to play from.
Trait Implementations§
Source§impl Clone for SourceAvailable
impl Clone for SourceAvailable
Source§fn clone(&self) -> SourceAvailable
fn clone(&self) -> SourceAvailable
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 SourceAvailable
Source§impl Debug for SourceAvailable
impl Debug for SourceAvailable
Source§impl<'de> Deserialize<'de> for SourceAvailable
impl<'de> Deserialize<'de> for SourceAvailable
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 Display for SourceAvailable
impl Display for SourceAvailable
impl Eq for SourceAvailable
Source§impl From<SourceAvailable> for String
impl From<SourceAvailable> for String
Source§fn from(value: SourceAvailable) -> Self
fn from(value: SourceAvailable) -> Self
Converts to this type from the input type.
Source§impl FromStr for SourceAvailable
impl FromStr for SourceAvailable
Source§impl PartialEq for SourceAvailable
impl PartialEq for SourceAvailable
Source§impl Serialize for SourceAvailable
impl Serialize for SourceAvailable
impl StructuralPartialEq for SourceAvailable
Source§impl TryFrom<&str> for SourceAvailable
impl TryFrom<&str> for SourceAvailable
Auto Trait Implementations§
impl Freeze for SourceAvailable
impl RefUnwindSafe for SourceAvailable
impl Send for SourceAvailable
impl Sync for SourceAvailable
impl Unpin for SourceAvailable
impl UnsafeUnpin for SourceAvailable
impl UnwindSafe for SourceAvailable
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