#[non_exhaustive]pub struct PollForJobsInput {
pub action_type_id: Option<ActionTypeId>,
pub max_batch_size: Option<i32>,
pub query_param: Option<HashMap<String, String>>,
}
Expand description
Represents the input of a PollForJobs
action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.action_type_id: Option<ActionTypeId>
Represents information about an action type.
max_batch_size: Option<i32>
The maximum number of jobs to return in a poll for jobs call.
query_param: Option<HashMap<String, String>>
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
Implementations§
source§impl PollForJobsInput
impl PollForJobsInput
sourcepub fn action_type_id(&self) -> Option<&ActionTypeId>
pub fn action_type_id(&self) -> Option<&ActionTypeId>
Represents information about an action type.
sourcepub fn max_batch_size(&self) -> Option<i32>
pub fn max_batch_size(&self) -> Option<i32>
The maximum number of jobs to return in a poll for jobs call.
sourcepub fn query_param(&self) -> Option<&HashMap<String, String>>
pub fn query_param(&self) -> Option<&HashMap<String, String>>
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
source§impl PollForJobsInput
impl PollForJobsInput
sourcepub fn builder() -> PollForJobsInputBuilder
pub fn builder() -> PollForJobsInputBuilder
Creates a new builder-style object to manufacture PollForJobsInput
.
Trait Implementations§
source§impl Clone for PollForJobsInput
impl Clone for PollForJobsInput
source§fn clone(&self) -> PollForJobsInput
fn clone(&self) -> PollForJobsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PollForJobsInput
impl Debug for PollForJobsInput
source§impl PartialEq for PollForJobsInput
impl PartialEq for PollForJobsInput
impl StructuralPartialEq for PollForJobsInput
Auto Trait Implementations§
impl Freeze for PollForJobsInput
impl RefUnwindSafe for PollForJobsInput
impl Send for PollForJobsInput
impl Sync for PollForJobsInput
impl Unpin for PollForJobsInput
impl UnwindSafe for PollForJobsInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more