pub struct RequestWithUserId {
pub user_id: Id<User>,
pub limit: Option<u8>,
pub since_id: Option<Id<User>>,
pub until_id: Option<Id<User>>,
}Fields§
§user_id: Id<User>§limit: Option<u8>1 .. 100
since_id: Option<Id<User>>§until_id: Option<Id<User>>Implementations§
Source§impl RequestWithUserId
impl RequestWithUserId
Sourcepub fn builder() -> RequestWithUserIdBuilder<((), (), (), ())>
pub fn builder() -> RequestWithUserIdBuilder<((), (), (), ())>
Create a builder for building RequestWithUserId.
On the builder, call .user_id(...), .limit(...)(optional), .since_id(...)(optional), .until_id(...)(optional) to set the values of the fields (they accept Into values).
Finally, call .build() to create the instance of RequestWithUserId.
Trait Implementations§
Source§impl Clone for RequestWithUserId
impl Clone for RequestWithUserId
Source§fn clone(&self) -> RequestWithUserId
fn clone(&self) -> RequestWithUserId
Returns a duplicate 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 RequestWithUserId
impl Debug for RequestWithUserId
Source§impl PaginationRequest for RequestWithUserId
impl PaginationRequest for RequestWithUserId
Source§type Item = FollowingWithFollowee
type Item = FollowingWithFollowee
The paginated item type.
Source§fn set_since_id(&mut self, id: Id<User>)
fn set_since_id(&mut self, id: Id<User>)
Sets the
since_id field of the request.Source§fn set_until_id(&mut self, id: Id<User>)
fn set_until_id(&mut self, id: Id<User>)
Sets the
until_id field of the request.Source§impl Request for RequestWithUserId
impl Request for RequestWithUserId
Auto Trait Implementations§
impl Freeze for RequestWithUserId
impl RefUnwindSafe for RequestWithUserId
impl Send for RequestWithUserId
impl Sync for RequestWithUserId
impl Unpin for RequestWithUserId
impl UnwindSafe for RequestWithUserId
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