Struct telexide::api::types::GetUserProfilePhotos
source · pub struct GetUserProfilePhotos {
pub user_id: i64,
pub offset: Option<i64>,
pub limit: Option<i64>,
}
Expand description
struct for holding data needed to call
get_user_profile_photos
Fields§
§user_id: i64
Unique identifier of the target user
offset: Option<i64>
Sequential number of the first photo to be returned. By default, all photos are returned.
limit: Option<i64>
Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.
Implementations§
Trait Implementations§
source§impl Clone for GetUserProfilePhotos
impl Clone for GetUserProfilePhotos
source§fn clone(&self) -> GetUserProfilePhotos
fn clone(&self) -> GetUserProfilePhotos
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 GetUserProfilePhotos
impl Debug for GetUserProfilePhotos
source§impl<'de> Deserialize<'de> for GetUserProfilePhotos
impl<'de> Deserialize<'de> for GetUserProfilePhotos
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 for GetUserProfilePhotos
impl PartialEq for GetUserProfilePhotos
source§fn eq(&self, other: &GetUserProfilePhotos) -> bool
fn eq(&self, other: &GetUserProfilePhotos) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetUserProfilePhotos
impl Serialize for GetUserProfilePhotos
impl Eq for GetUserProfilePhotos
impl StructuralEq for GetUserProfilePhotos
impl StructuralPartialEq for GetUserProfilePhotos
Auto Trait Implementations§
impl RefUnwindSafe for GetUserProfilePhotos
impl Send for GetUserProfilePhotos
impl Sync for GetUserProfilePhotos
impl Unpin for GetUserProfilePhotos
impl UnwindSafe for GetUserProfilePhotos
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
source§impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
impl<T> CloneableStorage for Twhere T: Any + Send + Sync + Clone,
fn clone_storage(&self) -> Box<dyn CloneableStorage>
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.