pub struct FactionNewsRequestBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> FactionNewsRequestBuilder<S>
impl<S: State> FactionNewsRequestBuilder<S>
Sourcepub fn build(self) -> FactionNewsRequestwhere
S: IsComplete,
pub fn build(self) -> FactionNewsRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn api_limit100(
self,
value: ApiLimit100,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
pub fn api_limit100(
self,
value: ApiLimit100,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
Sourcepub fn maybe_api_limit100(
self,
value: Option<ApiLimit100>,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
pub fn maybe_api_limit100(
self,
value: Option<ApiLimit100>,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
Sourcepub fn api_sort_desc(
self,
value: ApiSortDesc,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
pub fn api_sort_desc(
self,
value: ApiSortDesc,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
Sourcepub fn maybe_api_sort_desc(
self,
value: Option<ApiSortDesc>,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
pub fn maybe_api_sort_desc(
self,
value: Option<ApiSortDesc>,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
Sourcepub fn api_to(self, value: ApiTo) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
pub fn api_to(self, value: ApiTo) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
Sourcepub fn maybe_api_to(
self,
value: Option<ApiTo>,
) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
pub fn maybe_api_to(
self,
value: Option<ApiTo>,
) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
Sourcepub fn api_from(
self,
value: ApiFrom,
) -> FactionNewsRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
pub fn api_from(
self,
value: ApiFrom,
) -> FactionNewsRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
Sourcepub fn maybe_api_from(
self,
value: Option<ApiFrom>,
) -> FactionNewsRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
pub fn maybe_api_from(
self,
value: Option<ApiFrom>,
) -> FactionNewsRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
Sourcepub fn cat(
self,
value: FactionNewsCategory,
) -> FactionNewsRequestBuilder<SetCat<S>>where
S::Cat: IsUnset,
pub fn cat(
self,
value: FactionNewsCategory,
) -> FactionNewsRequestBuilder<SetCat<S>>where
S::Cat: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for FactionNewsRequestBuilder<S>
impl<S> RefUnwindSafe for FactionNewsRequestBuilder<S>
impl<S> Send for FactionNewsRequestBuilder<S>
impl<S> Sync for FactionNewsRequestBuilder<S>
impl<S> Unpin for FactionNewsRequestBuilder<S>
impl<S> UnwindSafe for FactionNewsRequestBuilder<S>
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