pub struct RequestWithUsername {
pub username: String,
pub host: Option<String>,
pub limit: Option<u8>,
pub since_id: Option<Id<User>>,
pub until_id: Option<Id<User>>,
}Fields§
§username: String§host: Option<String>§limit: Option<u8>1 .. 100
since_id: Option<Id<User>>§until_id: Option<Id<User>>Implementations§
Source§impl RequestWithUsername
impl RequestWithUsername
Sourcepub fn builder() -> RequestWithUsernameBuilder<((), (), (), (), ())>
pub fn builder() -> RequestWithUsernameBuilder<((), (), (), (), ())>
Create a builder for building RequestWithUsername.
On the builder, call .username(...), .host(...)(optional), .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 RequestWithUsername.
Trait Implementations§
Source§impl Clone for RequestWithUsername
impl Clone for RequestWithUsername
Source§fn clone(&self) -> RequestWithUsername
fn clone(&self) -> RequestWithUsername
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 RequestWithUsername
impl Debug for RequestWithUsername
Source§impl PaginationRequest for RequestWithUsername
impl PaginationRequest for RequestWithUsername
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 RequestWithUsername
impl Request for RequestWithUsername
Auto Trait Implementations§
impl Freeze for RequestWithUsername
impl RefUnwindSafe for RequestWithUsername
impl Send for RequestWithUsername
impl Sync for RequestWithUsername
impl Unpin for RequestWithUsername
impl UnwindSafe for RequestWithUsername
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