pub struct GetFollowedCustomListsBuilder {
limit: Option<Option<u32>>,
offset: Option<Option<u32>>,
/* private fields */
}
Expand description
Builder for GetFollowedCustomLists
.
Fields§
§limit: Option<Option<u32>>
Maximum number of custom lists to return.
Default: 10.
offset: Option<Option<u32>>
Number of custom lists to offset.
Default: 0.
Implementations§
Source§impl GetFollowedCustomListsBuilder
impl GetFollowedCustomListsBuilder
Sourcepub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Maximum number of custom lists to return.
Default: 10.
Sourcepub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Number of custom lists to offset.
Default: 0.
Sourcepub fn build(&self) -> Result<GetFollowedCustomLists, BuilderError>
pub fn build(&self) -> Result<GetFollowedCustomLists, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl GetFollowedCustomListsBuilder
impl GetFollowedCustomListsBuilder
pub async fn send(&self) -> CustomListListResponse
Trait Implementations§
Source§impl Clone for GetFollowedCustomListsBuilder
impl Clone for GetFollowedCustomListsBuilder
Source§fn clone(&self) -> GetFollowedCustomListsBuilder
fn clone(&self) -> GetFollowedCustomListsBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetFollowedCustomListsBuilder
impl !RefUnwindSafe for GetFollowedCustomListsBuilder
impl !Send for GetFollowedCustomListsBuilder
impl !Sync for GetFollowedCustomListsBuilder
impl Unpin for GetFollowedCustomListsBuilder
impl !UnwindSafe for GetFollowedCustomListsBuilder
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