Struct vkrs::audio::GetRecommendations
source · pub struct GetRecommendations { /* private fields */ }
Expand description
The audio.getRecommendations API request.
Implementations
sourceimpl GetRecommendations
impl GetRecommendations
pub fn new() -> Self
pub fn target_audio(&mut self, value: Option<FullId>) -> &mut Self
pub fn user_id(&mut self, value: Option<Id>) -> &mut Self
pub fn offset(&mut self, value: usize) -> &mut Self
pub fn count(&mut self, value: usize) -> &mut Self
pub fn shuffle(&mut self, value: bool) -> &mut Self
Trait Implementations
sourceimpl Clone for GetRecommendations
impl Clone for GetRecommendations
sourcefn clone(&self) -> GetRecommendations
fn clone(&self) -> GetRecommendations
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetRecommendations
impl Debug for GetRecommendations
sourceimpl PartialEq<GetRecommendations> for GetRecommendations
impl PartialEq<GetRecommendations> for GetRecommendations
sourcefn eq(&self, other: &GetRecommendations) -> bool
fn eq(&self, other: &GetRecommendations) -> bool
sourceimpl Request for GetRecommendations
impl Request for GetRecommendations
type Response = Collection<Audio>
fn method_name() -> &'static str
fn permissions() -> Permissions
fn to_query_string(&self) -> String
fn to_url(&self) -> Url
impl Copy for GetRecommendations
impl Eq for GetRecommendations
impl StructuralEq for GetRecommendations
impl StructuralPartialEq for GetRecommendations
Auto Trait Implementations
impl RefUnwindSafe for GetRecommendations
impl Send for GetRecommendations
impl Sync for GetRecommendations
impl Unpin for GetRecommendations
impl UnwindSafe for GetRecommendations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.