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: impl Into<ApiLimit100>,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
pub fn api_limit100(
self,
value: impl Into<ApiLimit100>,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
Sourcepub fn maybe_api_limit100(
self,
value: Option<impl Into<ApiLimit100>>,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
pub fn maybe_api_limit100(
self,
value: Option<impl Into<ApiLimit100>>,
) -> FactionNewsRequestBuilder<SetApiLimit100<S>>where
S::ApiLimit100: IsUnset,
Sourcepub fn api_sort_desc(
self,
value: impl Into<ApiSortDesc>,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
pub fn api_sort_desc(
self,
value: impl Into<ApiSortDesc>,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
Sourcepub fn maybe_api_sort_desc(
self,
value: Option<impl Into<ApiSortDesc>>,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
pub fn maybe_api_sort_desc(
self,
value: Option<impl Into<ApiSortDesc>>,
) -> FactionNewsRequestBuilder<SetApiSortDesc<S>>where
S::ApiSortDesc: IsUnset,
Sourcepub fn api_to(
self,
value: impl Into<ApiTo>,
) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
pub fn api_to(
self,
value: impl Into<ApiTo>,
) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
Sourcepub fn maybe_api_to(
self,
value: Option<impl Into<ApiTo>>,
) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
pub fn maybe_api_to(
self,
value: Option<impl Into<ApiTo>>,
) -> FactionNewsRequestBuilder<SetApiTo<S>>where
S::ApiTo: IsUnset,
Sourcepub fn api_from(
self,
value: impl Into<ApiFrom>,
) -> FactionNewsRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
pub fn api_from(
self,
value: impl Into<ApiFrom>,
) -> FactionNewsRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
Sourcepub fn maybe_api_from(
self,
value: Option<impl Into<ApiFrom>>,
) -> FactionNewsRequestBuilder<SetApiFrom<S>>where
S::ApiFrom: IsUnset,
pub fn maybe_api_from(
self,
value: Option<impl Into<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.
Sourcepub fn api_timestamp(
self,
value: impl Into<String>,
) -> FactionNewsRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
pub fn api_timestamp(
self,
value: impl Into<String>,
) -> FactionNewsRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
Sourcepub fn maybe_api_timestamp(
self,
value: Option<impl Into<String>>,
) -> FactionNewsRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
pub fn maybe_api_timestamp(
self,
value: Option<impl Into<String>>,
) -> FactionNewsRequestBuilder<SetApiTimestamp<S>>where
S::ApiTimestamp: IsUnset,
Sourcepub fn api_comment(
self,
value: impl Into<String>,
) -> FactionNewsRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
pub fn api_comment(
self,
value: impl Into<String>,
) -> FactionNewsRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
Sourcepub fn maybe_api_comment(
self,
value: Option<impl Into<String>>,
) -> FactionNewsRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
pub fn maybe_api_comment(
self,
value: Option<impl Into<String>>,
) -> FactionNewsRequestBuilder<SetApiComment<S>>where
S::ApiComment: IsUnset,
Sourcepub fn api_key_minimal(
self,
value: impl Into<String>,
) -> FactionNewsRequestBuilder<SetApiKeyMinimal<S>>where
S::ApiKeyMinimal: IsUnset,
pub fn api_key_minimal(
self,
value: impl Into<String>,
) -> FactionNewsRequestBuilder<SetApiKeyMinimal<S>>where
S::ApiKeyMinimal: IsUnset,
Sourcepub fn maybe_api_key_minimal(
self,
value: Option<impl Into<String>>,
) -> FactionNewsRequestBuilder<SetApiKeyMinimal<S>>where
S::ApiKeyMinimal: IsUnset,
pub fn maybe_api_key_minimal(
self,
value: Option<impl Into<String>>,
) -> FactionNewsRequestBuilder<SetApiKeyMinimal<S>>where
S::ApiKeyMinimal: IsUnset,
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