#[non_exhaustive]pub struct CreateQueueEnvironmentInput {
pub client_token: Option<String>,
pub farm_id: Option<String>,
pub queue_id: Option<String>,
pub priority: Option<i32>,
pub template_type: Option<EnvironmentTemplateType>,
pub template: Option<String>,
}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.client_token: Option<String>The unique token which the server uses to recognize retries of the same request.
farm_id: Option<String>The farm ID of the farm to connect to the environment.
queue_id: Option<String>The queue ID to connect the queue and environment.
priority: Option<i32>Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
template_type: Option<EnvironmentTemplateType>The template's file type, JSON or YAML.
template: Option<String>The environment template to use in the queue.
Implementations§
source§impl CreateQueueEnvironmentInput
impl CreateQueueEnvironmentInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The unique token which the server uses to recognize retries of the same request.
sourcepub fn priority(&self) -> Option<i32>
pub fn priority(&self) -> Option<i32>
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
sourcepub fn template_type(&self) -> Option<&EnvironmentTemplateType>
pub fn template_type(&self) -> Option<&EnvironmentTemplateType>
The template's file type, JSON or YAML.
source§impl CreateQueueEnvironmentInput
impl CreateQueueEnvironmentInput
sourcepub fn builder() -> CreateQueueEnvironmentInputBuilder
pub fn builder() -> CreateQueueEnvironmentInputBuilder
Creates a new builder-style object to manufacture CreateQueueEnvironmentInput.
Trait Implementations§
source§impl Clone for CreateQueueEnvironmentInput
impl Clone for CreateQueueEnvironmentInput
source§fn clone(&self) -> CreateQueueEnvironmentInput
fn clone(&self) -> CreateQueueEnvironmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateQueueEnvironmentInput
impl Debug for CreateQueueEnvironmentInput
source§impl PartialEq for CreateQueueEnvironmentInput
impl PartialEq for CreateQueueEnvironmentInput
source§fn eq(&self, other: &CreateQueueEnvironmentInput) -> bool
fn eq(&self, other: &CreateQueueEnvironmentInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateQueueEnvironmentInput
Auto Trait Implementations§
impl Freeze for CreateQueueEnvironmentInput
impl RefUnwindSafe for CreateQueueEnvironmentInput
impl Send for CreateQueueEnvironmentInput
impl Sync for CreateQueueEnvironmentInput
impl Unpin for CreateQueueEnvironmentInput
impl UnwindSafe for CreateQueueEnvironmentInput
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