pub struct GetCustomListBuilder {
list_id: Option<Uuid>,
with_auth: Option<bool>,
includes: Option<Vec<ReferenceExpansionResource>>,
/* private fields */
}Expand description
Builder for GetCustomList.
Fields§
§list_id: Option<Uuid>§with_auth: Option<bool>§includes: Option<Vec<ReferenceExpansionResource>>Implementations§
Source§impl GetCustomListBuilder
impl GetCustomListBuilder
pub fn list_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn with_auth<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn includes<VALUE: Into<Vec<ReferenceExpansionResource>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn include<VALUE>(&mut self, item: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<GetCustomList, BuilderError>
pub fn build(&self) -> Result<GetCustomList, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None or PhantomData.
Source§impl GetCustomListBuilder
impl GetCustomListBuilder
pub async fn send(&self) -> Result<CustomListData>
Trait Implementations§
Source§impl Clone for GetCustomListBuilder
impl Clone for GetCustomListBuilder
Source§fn clone(&self) -> GetCustomListBuilder
fn clone(&self) -> GetCustomListBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetCustomListBuilder
impl !RefUnwindSafe for GetCustomListBuilder
impl Send for GetCustomListBuilder
impl Sync for GetCustomListBuilder
impl Unpin for GetCustomListBuilder
impl UnsafeUnpin for GetCustomListBuilder
impl !UnwindSafe for GetCustomListBuilder
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