pub struct Get { /* private fields */ }
Expand description
The audio.get API request.
Implementations
sourceimpl Get
impl Get
pub fn new() -> Self
pub fn owner_id(&mut self, value: OwnerId) -> &mut Self
pub fn album_id(&mut self, value: Option<Id>) -> &mut Self
pub fn audio_ids(&mut self, value: Vec<Id>) -> &mut Self
pub fn offset(&mut self, value: usize) -> &mut Self
pub fn count(&mut self, value: usize) -> &mut Self
Trait Implementations
sourceimpl Request for Get
impl Request for Get
type Response = Collection<Audio>
fn method_name() -> &'static str
fn permissions() -> Permissions
fn to_query_string(&self) -> String
fn to_url(&self) -> Url
impl Eq for Get
impl StructuralEq for Get
impl StructuralPartialEq for Get
Auto Trait Implementations
impl RefUnwindSafe for Get
impl Send for Get
impl Sync for Get
impl Unpin for Get
impl UnwindSafe for Get
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.