#[non_exhaustive]pub struct UpdateQueueInput {
pub description: Option<String>,
pub name: Option<String>,
pub reservation_plan_settings: Option<ReservationPlanSettings>,
pub status: Option<QueueStatus>,
}
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.description: Option<String>
The new description for the queue, if you are changing it.
name: Option<String>
The name of the queue that you are modifying.
reservation_plan_settings: Option<ReservationPlanSettings>
The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can’t cancel them.
status: Option<QueueStatus>
Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won’t begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
Implementations§
source§impl UpdateQueueInput
impl UpdateQueueInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The new description for the queue, if you are changing it.
sourcepub fn reservation_plan_settings(&self) -> Option<&ReservationPlanSettings>
pub fn reservation_plan_settings(&self) -> Option<&ReservationPlanSettings>
The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can’t cancel them.
sourcepub fn status(&self) -> Option<&QueueStatus>
pub fn status(&self) -> Option<&QueueStatus>
Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won’t begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
source§impl UpdateQueueInput
impl UpdateQueueInput
sourcepub fn builder() -> UpdateQueueInputBuilder
pub fn builder() -> UpdateQueueInputBuilder
Creates a new builder-style object to manufacture UpdateQueueInput
.
Trait Implementations§
source§impl Clone for UpdateQueueInput
impl Clone for UpdateQueueInput
source§fn clone(&self) -> UpdateQueueInput
fn clone(&self) -> UpdateQueueInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateQueueInput
impl Debug for UpdateQueueInput
source§impl PartialEq for UpdateQueueInput
impl PartialEq for UpdateQueueInput
source§fn eq(&self, other: &UpdateQueueInput) -> bool
fn eq(&self, other: &UpdateQueueInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateQueueInput
Auto Trait Implementations§
impl Freeze for UpdateQueueInput
impl RefUnwindSafe for UpdateQueueInput
impl Send for UpdateQueueInput
impl Sync for UpdateQueueInput
impl Unpin for UpdateQueueInput
impl UnwindSafe for UpdateQueueInput
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> 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