pub struct UpdateWorkforceRequest {
pub source_ip_config: Option<SourceIpConfig>,
pub workforce_name: String,
}
Fields§
§source_ip_config: Option<SourceIpConfig>
A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.
Maximum: Ten CIDR values
workforce_name: String
The name of the private workforce whose access you want to restrict. WorkforceName
is automatically set to default
when a workforce is created and cannot be modified.
Trait Implementations§
Source§impl Clone for UpdateWorkforceRequest
impl Clone for UpdateWorkforceRequest
Source§fn clone(&self) -> UpdateWorkforceRequest
fn clone(&self) -> UpdateWorkforceRequest
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 UpdateWorkforceRequest
impl Debug for UpdateWorkforceRequest
Source§impl Default for UpdateWorkforceRequest
impl Default for UpdateWorkforceRequest
Source§fn default() -> UpdateWorkforceRequest
fn default() -> UpdateWorkforceRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateWorkforceRequest
impl PartialEq for UpdateWorkforceRequest
Source§impl Serialize for UpdateWorkforceRequest
impl Serialize for UpdateWorkforceRequest
impl StructuralPartialEq for UpdateWorkforceRequest
Auto Trait Implementations§
impl Freeze for UpdateWorkforceRequest
impl RefUnwindSafe for UpdateWorkforceRequest
impl Send for UpdateWorkforceRequest
impl Sync for UpdateWorkforceRequest
impl Unpin for UpdateWorkforceRequest
impl UnwindSafe for UpdateWorkforceRequest
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