pub struct FactionRequestBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> FactionRequestBuilder<S>
impl<S: State> FactionRequestBuilder<S>
Sourcepub fn build(self) -> FactionRequestwhere
S: IsComplete,
pub fn build(self) -> FactionRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn selections(
self,
value: impl Into<Selections>,
) -> FactionRequestBuilder<SetSelections<S>>where
S::Selections: IsUnset,
pub fn selections(
self,
value: impl Into<Selections>,
) -> FactionRequestBuilder<SetSelections<S>>where
S::Selections: IsUnset,
Sourcepub fn maybe_selections(
self,
value: Option<impl Into<Selections>>,
) -> FactionRequestBuilder<SetSelections<S>>where
S::Selections: IsUnset,
pub fn maybe_selections(
self,
value: Option<impl Into<Selections>>,
) -> FactionRequestBuilder<SetSelections<S>>where
S::Selections: IsUnset,
Sourcepub fn id(self, value: impl Into<Id>) -> FactionRequestBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: impl Into<Id>) -> FactionRequestBuilder<SetId<S>>where
S::Id: IsUnset,
Sourcepub fn maybe_id(
self,
value: Option<impl Into<Id>>,
) -> FactionRequestBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn maybe_id(
self,
value: Option<impl Into<Id>>,
) -> FactionRequestBuilder<SetId<S>>where
S::Id: IsUnset,
Sourcepub fn api_limit(
self,
value: impl Into<ApiLimit>,
) -> FactionRequestBuilder<SetApiLimit<S>>where
S::ApiLimit: IsUnset,
pub fn api_limit(
self,
value: impl Into<ApiLimit>,
) -> FactionRequestBuilder<SetApiLimit<S>>where
S::ApiLimit: IsUnset,
Sourcepub fn maybe_api_limit(
self,
value: Option<impl Into<ApiLimit>>,
) -> FactionRequestBuilder<SetApiLimit<S>>where
S::ApiLimit: IsUnset,
pub fn maybe_api_limit(
self,
value: Option<impl Into<ApiLimit>>,
) -> FactionRequestBuilder<SetApiLimit<S>>where
S::ApiLimit: IsUnset,
Sourcepub fn api_from(
self,
value: impl Into<ApiFrom>,
) -> FactionRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
pub fn api_from(
self,
value: impl Into<ApiFrom>,
) -> FactionRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
Sourcepub fn maybe_api_from(
self,
value: Option<impl Into<ApiFrom>>,
) -> FactionRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
pub fn maybe_api_from(
self,
value: Option<impl Into<ApiFrom>>,
) -> FactionRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
Sourcepub fn api_to(
self,
value: impl Into<ApiTo>,
) -> FactionRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
pub fn api_to(
self,
value: impl Into<ApiTo>,
) -> FactionRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
Sourcepub fn maybe_api_to(
self,
value: Option<impl Into<ApiTo>>,
) -> FactionRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
pub fn maybe_api_to(
self,
value: Option<impl Into<ApiTo>>,
) -> FactionRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
Sourcepub fn cat(self, value: impl Into<Cat>) -> FactionRequestBuilder<SetCat<S>>where
S::Cat: IsUnset,
pub fn cat(self, value: impl Into<Cat>) -> FactionRequestBuilder<SetCat<S>>where
S::Cat: IsUnset,
Sourcepub fn maybe_cat(
self,
value: Option<impl Into<Cat>>,
) -> FactionRequestBuilder<SetCat<S>>where
S::Cat: IsUnset,
pub fn maybe_cat(
self,
value: Option<impl Into<Cat>>,
) -> FactionRequestBuilder<SetCat<S>>where
S::Cat: IsUnset,
Sourcepub fn stat(self, value: FactionStatEnum) -> FactionRequestBuilder<SetStat<S>>where
S::Stat: IsUnset,
pub fn stat(self, value: FactionStatEnum) -> FactionRequestBuilder<SetStat<S>>where
S::Stat: IsUnset,
Sourcepub fn maybe_stat(
self,
value: Option<FactionStatEnum>,
) -> FactionRequestBuilder<SetStat<S>>where
S::Stat: IsUnset,
pub fn maybe_stat(
self,
value: Option<FactionStatEnum>,
) -> FactionRequestBuilder<SetStat<S>>where
S::Stat: IsUnset,
Sourcepub fn api_sort(
self,
value: impl Into<ApiSort>,
) -> FactionRequestBuilder<SetApiSort<S>>where
S::ApiSort: IsUnset,
pub fn api_sort(
self,
value: impl Into<ApiSort>,
) -> FactionRequestBuilder<SetApiSort<S>>where
S::ApiSort: IsUnset,
Sourcepub fn maybe_api_sort(
self,
value: Option<impl Into<ApiSort>>,
) -> FactionRequestBuilder<SetApiSort<S>>where
S::ApiSort: IsUnset,
pub fn maybe_api_sort(
self,
value: Option<impl Into<ApiSort>>,
) -> FactionRequestBuilder<SetApiSort<S>>where
S::ApiSort: IsUnset,
Sourcepub fn api_offset_no_default(
self,
value: impl Into<ApiOffsetNoDefault>,
) -> FactionRequestBuilder<SetApiOffsetNoDefault<S>>where
S::ApiOffsetNoDefault: IsUnset,
pub fn api_offset_no_default(
self,
value: impl Into<ApiOffsetNoDefault>,
) -> FactionRequestBuilder<SetApiOffsetNoDefault<S>>where
S::ApiOffsetNoDefault: IsUnset,
Sourcepub fn maybe_api_offset_no_default(
self,
value: Option<impl Into<ApiOffsetNoDefault>>,
) -> FactionRequestBuilder<SetApiOffsetNoDefault<S>>where
S::ApiOffsetNoDefault: IsUnset,
pub fn maybe_api_offset_no_default(
self,
value: Option<impl Into<ApiOffsetNoDefault>>,
) -> FactionRequestBuilder<SetApiOffsetNoDefault<S>>where
S::ApiOffsetNoDefault: IsUnset,
Sourcepub fn api_timestamp(
self,
value: impl Into<String>,
) -> FactionRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
pub fn api_timestamp(
self,
value: impl Into<String>,
) -> FactionRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
Sourcepub fn maybe_api_timestamp(
self,
value: Option<impl Into<String>>,
) -> FactionRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
pub fn maybe_api_timestamp(
self,
value: Option<impl Into<String>>,
) -> FactionRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
Sourcepub fn api_comment(
self,
value: impl Into<String>,
) -> FactionRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
pub fn api_comment(
self,
value: impl Into<String>,
) -> FactionRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
Sourcepub fn maybe_api_comment(
self,
value: Option<impl Into<String>>,
) -> FactionRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
pub fn maybe_api_comment(
self,
value: Option<impl Into<String>>,
) -> FactionRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
Sourcepub fn api_key_public(
self,
value: impl Into<String>,
) -> FactionRequestBuilder<SetApiKeyPublic<S>>where
S::ApiKeyPublic: IsUnset,
pub fn api_key_public(
self,
value: impl Into<String>,
) -> FactionRequestBuilder<SetApiKeyPublic<S>>where
S::ApiKeyPublic: IsUnset,
Sourcepub fn maybe_api_key_public(
self,
value: Option<impl Into<String>>,
) -> FactionRequestBuilder<SetApiKeyPublic<S>>where
S::ApiKeyPublic: IsUnset,
pub fn maybe_api_key_public(
self,
value: Option<impl Into<String>>,
) -> FactionRequestBuilder<SetApiKeyPublic<S>>where
S::ApiKeyPublic: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for FactionRequestBuilder<S>
impl<S> RefUnwindSafe for FactionRequestBuilder<S>
impl<S> Send for FactionRequestBuilder<S>
impl<S> Sync for FactionRequestBuilder<S>
impl<S> Unpin for FactionRequestBuilder<S>
impl<S> UnwindSafe for FactionRequestBuilder<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