Struct GetSongOptions
pub struct GetSongOptions {
pub song: Option<SearchableSong>,
pub artist: Option<QueryableArtist>,
pub album: Option<QueryableAlbum>,
pub genre: Option<QueryableGenre>,
pub playlist: Option<QueryablePlaylist>,
pub inclusive: Option<bool>,
}
Fields§
§song: Option<SearchableSong>
§artist: Option<QueryableArtist>
§album: Option<QueryableAlbum>
§genre: Option<QueryableGenre>
§playlist: Option<QueryablePlaylist>
§inclusive: Option<bool>
Trait Implementations§
§impl Clone for GetSongOptions
impl Clone for GetSongOptions
§fn clone(&self) -> GetSongOptions
fn clone(&self) -> GetSongOptions
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 GetSongOptions
impl Debug for GetSongOptions
§impl Default for GetSongOptions
impl Default for GetSongOptions
§fn default() -> GetSongOptions
fn default() -> GetSongOptions
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for GetSongOptions
impl<'de> Deserialize<'de> for GetSongOptions
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetSongOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetSongOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for GetSongOptions
impl Serialize for GetSongOptions
§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 GetSongOptions
impl RefUnwindSafe for GetSongOptions
impl Send for GetSongOptions
impl Sync for GetSongOptions
impl Unpin for GetSongOptions
impl UnwindSafe for GetSongOptions
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