pub struct ListGroupBuilder {
limit: Option<Option<u32>>,
offset: Option<Option<u32>>,
group_ids: Option<Vec<Uuid>>,
name: Option<Option<String>>,
focused_language: Option<Option<Language>>,
includes: Option<Vec<ReferenceExpansionResource>>,
order: Option<Option<GroupSortOrder>>,
/* private fields */
}
Expand description
Builder for ListGroup
.
Fields§
§limit: Option<Option<u32>>
§offset: Option<Option<u32>>
§group_ids: Option<Vec<Uuid>>
§name: Option<Option<String>>
§focused_language: Option<Option<Language>>
Language the scanlation primarily translates or uploads works into.
includes: Option<Vec<ReferenceExpansionResource>>
§order: Option<Option<GroupSortOrder>>
Implementations§
Source§impl ListGroupBuilder
impl ListGroupBuilder
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn group_ids<VALUE: Into<Vec<Uuid>>>(&mut self, value: VALUE) -> &mut Self
pub fn add_group_id<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn focused_language<VALUE: Into<Language>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn focused_language<VALUE: Into<Language>>( &mut self, value: VALUE, ) -> &mut Self
Language the scanlation primarily translates or uploads works into.
pub fn includes<VALUE: Into<Vec<ReferenceExpansionResource>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn include<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn order<VALUE: Into<GroupSortOrder>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<ListGroup, BuilderError>
pub fn build(&self) -> Result<ListGroup, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl ListGroupBuilder
impl ListGroupBuilder
pub async fn send(&self) -> GroupListResponse
Trait Implementations§
Source§impl Clone for ListGroupBuilder
impl Clone for ListGroupBuilder
Source§fn clone(&self) -> ListGroupBuilder
fn clone(&self) -> ListGroupBuilder
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 ListGroupBuilder
impl !RefUnwindSafe for ListGroupBuilder
impl !Send for ListGroupBuilder
impl !Sync for ListGroupBuilder
impl Unpin for ListGroupBuilder
impl !UnwindSafe for ListGroupBuilder
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