Struct vkrs::photos::GetComments
source · pub struct GetComments<'a> { /* private fields */ }
Expand description
The photos.getComments API request.
Implementations
sourceimpl<'a> GetComments<'a>
impl<'a> GetComments<'a>
pub fn new() -> Self
pub fn owner_id(&mut self, value: Option<OwnerId>) -> &mut Self
pub fn photo_id(&mut self, value: Id) -> &mut Self
pub fn need_likes(&mut self, value: bool) -> &mut Self
pub fn start_comment_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 sort(&mut self, value: SortOrder) -> &mut Self
pub fn access_key(&mut self, value: &'a str) -> &mut Self
Trait Implementations
sourceimpl<'a> Clone for GetComments<'a>
impl<'a> Clone for GetComments<'a>
sourcefn clone(&self) -> GetComments<'a>
fn clone(&self) -> GetComments<'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 GetComments<'a>
impl<'a> Debug for GetComments<'a>
sourceimpl<'a> PartialEq<GetComments<'a>> for GetComments<'a>
impl<'a> PartialEq<GetComments<'a>> for GetComments<'a>
sourcefn eq(&self, other: &GetComments<'a>) -> bool
fn eq(&self, other: &GetComments<'a>) -> bool
sourceimpl<'a> Request for GetComments<'a>
impl<'a> Request for GetComments<'a>
type Response = Collection<Comment>
fn method_name() -> &'static str
fn permissions() -> Permissions
fn to_query_string(&self) -> String
fn to_url(&self) -> Url
impl<'a> Copy for GetComments<'a>
impl<'a> Eq for GetComments<'a>
impl<'a> StructuralEq for GetComments<'a>
impl<'a> StructuralPartialEq for GetComments<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for GetComments<'a>
impl<'a> Send for GetComments<'a>
impl<'a> Sync for GetComments<'a>
impl<'a> Unpin for GetComments<'a>
impl<'a> UnwindSafe for GetComments<'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.