Struct vkrs::video::AddToAlbum
source · pub struct AddToAlbum<'a> { /* private fields */ }
Expand description
The video.addToAlbum API request.
Implementations
sourceimpl<'a> AddToAlbum<'a>
impl<'a> AddToAlbum<'a>
pub fn new() -> Self
pub fn target_id(&mut self, value: Option<OwnerId>) -> &mut Self
pub fn album_id(&mut self, value: Option<Id>) -> &mut Self
pub fn owner_id(&mut self, value: OwnerId) -> &mut Self
pub fn video_id(&mut self, value: Id) -> &mut Self
pub fn album_ids(&mut self, value: &'a [Id]) -> &mut Self
Trait Implementations
sourceimpl<'a> Clone for AddToAlbum<'a>
impl<'a> Clone for AddToAlbum<'a>
sourcefn clone(&self) -> AddToAlbum<'a>
fn clone(&self) -> AddToAlbum<'a>
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<'a> Debug for AddToAlbum<'a>
impl<'a> Debug for AddToAlbum<'a>
sourceimpl<'a> PartialEq<AddToAlbum<'a>> for AddToAlbum<'a>
impl<'a> PartialEq<AddToAlbum<'a>> for AddToAlbum<'a>
sourcefn eq(&self, other: &AddToAlbum<'a>) -> bool
fn eq(&self, other: &AddToAlbum<'a>) -> bool
sourceimpl<'a> Request for AddToAlbum<'a>
impl<'a> Request for AddToAlbum<'a>
type Response = u8
fn method_name() -> &'static str
fn permissions() -> Permissions
fn to_query_string(&self) -> String
fn to_url(&self) -> Url
impl<'a> Copy for AddToAlbum<'a>
impl<'a> Eq for AddToAlbum<'a>
impl<'a> StructuralEq for AddToAlbum<'a>
impl<'a> StructuralPartialEq for AddToAlbum<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AddToAlbum<'a>
impl<'a> Send for AddToAlbum<'a>
impl<'a> Sync for AddToAlbum<'a>
impl<'a> Unpin for AddToAlbum<'a>
impl<'a> UnwindSafe for AddToAlbum<'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.