#[non_exhaustive]pub struct CreateWorkerInput {
pub farm_id: Option<String>,
pub fleet_id: Option<String>,
pub host_properties: Option<HostPropertiesRequest>,
pub client_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.farm_id: Option<String>The farm ID of the farm to connect to the worker.
fleet_id: Option<String>The fleet ID to connect to the worker.
host_properties: Option<HostPropertiesRequest>The IP address and host name of the worker.
client_token: Option<String>The unique token which the server uses to recognize retries of the same request.
Implementations§
source§impl CreateWorkerInput
impl CreateWorkerInput
sourcepub fn host_properties(&self) -> Option<&HostPropertiesRequest>
pub fn host_properties(&self) -> Option<&HostPropertiesRequest>
The IP address and host name of the worker.
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.
source§impl CreateWorkerInput
impl CreateWorkerInput
sourcepub fn builder() -> CreateWorkerInputBuilder
pub fn builder() -> CreateWorkerInputBuilder
Creates a new builder-style object to manufacture CreateWorkerInput.
Trait Implementations§
source§impl Clone for CreateWorkerInput
impl Clone for CreateWorkerInput
source§fn clone(&self) -> CreateWorkerInput
fn clone(&self) -> CreateWorkerInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateWorkerInput
impl Debug for CreateWorkerInput
source§impl PartialEq for CreateWorkerInput
impl PartialEq for CreateWorkerInput
source§fn eq(&self, other: &CreateWorkerInput) -> bool
fn eq(&self, other: &CreateWorkerInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateWorkerInput
Auto Trait Implementations§
impl Freeze for CreateWorkerInput
impl RefUnwindSafe for CreateWorkerInput
impl Send for CreateWorkerInput
impl Sync for CreateWorkerInput
impl Unpin for CreateWorkerInput
impl UnwindSafe for CreateWorkerInput
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
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>
Creates a shared type from an unshared type.