pub struct GetUserProfilePhotosParams {
pub user_id: u64,
pub offset: Option<u32>,
pub limit: Option<u32>,
}
Fields§
§user_id: u64
§offset: Option<u32>
§limit: Option<u32>
Implementations§
source§impl GetUserProfilePhotosParams
impl GetUserProfilePhotosParams
sourcepub fn builder() -> GetUserProfilePhotosParamsBuilder<((), (), ())>
pub fn builder() -> GetUserProfilePhotosParamsBuilder<((), (), ())>
Create a builder for building GetUserProfilePhotosParams
.
On the builder, call .user_id(...)
, .offset(...)
(optional), .limit(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GetUserProfilePhotosParams
.
Trait Implementations§
source§impl Clone for GetUserProfilePhotosParams
impl Clone for GetUserProfilePhotosParams
source§fn clone(&self) -> GetUserProfilePhotosParams
fn clone(&self) -> GetUserProfilePhotosParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetUserProfilePhotosParams
impl Debug for GetUserProfilePhotosParams
source§impl<'de> Deserialize<'de> for GetUserProfilePhotosParams
impl<'de> Deserialize<'de> for GetUserProfilePhotosParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<GetUserProfilePhotosParams> for GetUserProfilePhotosParams
impl PartialEq<GetUserProfilePhotosParams> for GetUserProfilePhotosParams
source§fn eq(&self, other: &GetUserProfilePhotosParams) -> bool
fn eq(&self, other: &GetUserProfilePhotosParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GetUserProfilePhotosParams
impl Eq for GetUserProfilePhotosParams
impl StructuralEq for GetUserProfilePhotosParams
impl StructuralPartialEq for GetUserProfilePhotosParams
Auto Trait Implementations§
impl RefUnwindSafe for GetUserProfilePhotosParams
impl Send for GetUserProfilePhotosParams
impl Sync for GetUserProfilePhotosParams
impl Unpin for GetUserProfilePhotosParams
impl UnwindSafe for GetUserProfilePhotosParams
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.