Struct SearchableSong
pub struct SearchableSong {
pub _id: Option<String>,
pub path: Option<String>,
pub title: Option<String>,
pub sample_rate: Option<f64>,
pub hash: Option<String>,
pub type_: Option<SongType>,
pub url: Option<String>,
pub playback_url: Option<String>,
pub provider_extension: Option<String>,
pub show_in_library: Option<bool>,
}
Fields§
§_id: Option<String>
§path: Option<String>
§title: Option<String>
§sample_rate: Option<f64>
§hash: Option<String>
§type_: Option<SongType>
§url: Option<String>
§playback_url: Option<String>
§provider_extension: Option<String>
§show_in_library: Option<bool>
Trait Implementations§
§impl Clone for SearchableSong
impl Clone for SearchableSong
§fn clone(&self) -> SearchableSong
fn clone(&self) -> SearchableSong
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 more§impl Debug for SearchableSong
impl Debug for SearchableSong
§impl Default for SearchableSong
impl Default for SearchableSong
§fn default() -> SearchableSong
fn default() -> SearchableSong
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for SearchableSong
impl<'de> Deserialize<'de> for SearchableSong
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SearchableSong, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SearchableSong, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for SearchableSong
impl Serialize for SearchableSong
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SearchableSong
impl RefUnwindSafe for SearchableSong
impl Send for SearchableSong
impl Sync for SearchableSong
impl Unpin for SearchableSong
impl UnwindSafe for SearchableSong
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