pub struct Get<'a> { /* private fields */ }
Expand description
The video.get API request.
Implementations
sourceimpl<'a> Get<'a>
impl<'a> Get<'a>
pub fn new() -> Self
pub fn owner_id(&mut self, value: Option<OwnerId>) -> &mut Self
pub fn album_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 videos(&mut self, value: &'a [FullId]) -> &mut Self
Trait Implementations
sourceimpl<'a> Request for Get<'a>
impl<'a> Request for Get<'a>
type Response = Collection<Video>
fn method_name() -> &'static str
fn permissions() -> Permissions
fn to_query_string(&self) -> String
fn to_url(&self) -> Url
impl<'a> Copy for Get<'a>
impl<'a> Eq for Get<'a>
impl<'a> StructuralEq for Get<'a>
impl<'a> StructuralPartialEq for Get<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Get<'a>
impl<'a> Send for Get<'a>
impl<'a> Sync for Get<'a>
impl<'a> Unpin for Get<'a>
impl<'a> UnwindSafe for Get<'a>
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.