pub struct UserCustomListsBuilder {
user_id: Option<Uuid>,
limit: Option<Option<u32>>,
offset: Option<Option<u32>>,
/* private fields */
}
Expand description
Builder for UserCustomLists
.
Fields§
§user_id: Option<Uuid>
§limit: Option<Option<u32>>
§offset: Option<Option<u32>>
Implementations§
Source§impl UserCustomListsBuilder
impl UserCustomListsBuilder
pub fn user_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<UserCustomLists, BuilderError>
pub fn build(&self) -> Result<UserCustomLists, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl UserCustomListsBuilder
impl UserCustomListsBuilder
pub async fn send(&self) -> CustomListListResponse
Trait Implementations§
Source§impl Clone for UserCustomListsBuilder
impl Clone for UserCustomListsBuilder
Source§fn clone(&self) -> UserCustomListsBuilder
fn clone(&self) -> UserCustomListsBuilder
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 UserCustomListsBuilder
impl !RefUnwindSafe for UserCustomListsBuilder
impl !Send for UserCustomListsBuilder
impl !Sync for UserCustomListsBuilder
impl Unpin for UserCustomListsBuilder
impl !UnwindSafe for UserCustomListsBuilder
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