Struct rusoto_forecast::ListPredictorsRequest
source · [−]pub struct ListPredictorsRequest {
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
}
Fields
filters: Option<Vec<Filter>>
An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS
or IS_NOT
, which specifies whether to include or exclude the predictors that match the statement from the list, respectively. The match statement consists of a key and a value.
Filter properties
-
Condition
- The condition to apply. Valid values areIS
andIS_NOT
. To include the predictors that match the statement, specifyIS
. To exclude matching predictors, specifyIS_NOT
. -
Key
- The name of the parameter to filter on. Valid values areDatasetGroupArn
andStatus
. -
Value
- The value to match.
For example, to list all predictors whose status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
max_results: Option<i64>
The number of items to return in the response.
next_token: Option<String>
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
Trait Implementations
sourceimpl Clone for ListPredictorsRequest
impl Clone for ListPredictorsRequest
sourcefn clone(&self) -> ListPredictorsRequest
fn clone(&self) -> ListPredictorsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListPredictorsRequest
impl Debug for ListPredictorsRequest
sourceimpl Default for ListPredictorsRequest
impl Default for ListPredictorsRequest
sourcefn default() -> ListPredictorsRequest
fn default() -> ListPredictorsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ListPredictorsRequest> for ListPredictorsRequest
impl PartialEq<ListPredictorsRequest> for ListPredictorsRequest
sourcefn eq(&self, other: &ListPredictorsRequest) -> bool
fn eq(&self, other: &ListPredictorsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListPredictorsRequest) -> bool
fn ne(&self, other: &ListPredictorsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ListPredictorsRequest
impl Serialize for ListPredictorsRequest
impl StructuralPartialEq for ListPredictorsRequest
Auto Trait Implementations
impl RefUnwindSafe for ListPredictorsRequest
impl Send for ListPredictorsRequest
impl Sync for ListPredictorsRequest
impl Unpin for ListPredictorsRequest
impl UnwindSafe for ListPredictorsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more