pub struct UpdateAcceleratorRequest {
pub accelerator_arn: String,
pub enabled: Option<bool>,
pub ip_address_type: Option<String>,
pub name: Option<String>,
}
Fields§
§accelerator_arn: String
The Amazon Resource Name (ARN) of the accelerator to update.
enabled: Option<bool>
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
ip_address_type: Option<String>
The value for the address type must be IPv4.
name: Option<String>
The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
Trait Implementations§
Source§impl Clone for UpdateAcceleratorRequest
impl Clone for UpdateAcceleratorRequest
Source§fn clone(&self) -> UpdateAcceleratorRequest
fn clone(&self) -> UpdateAcceleratorRequest
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 UpdateAcceleratorRequest
impl Debug for UpdateAcceleratorRequest
Source§impl Default for UpdateAcceleratorRequest
impl Default for UpdateAcceleratorRequest
Source§fn default() -> UpdateAcceleratorRequest
fn default() -> UpdateAcceleratorRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateAcceleratorRequest
impl PartialEq for UpdateAcceleratorRequest
Source§impl Serialize for UpdateAcceleratorRequest
impl Serialize for UpdateAcceleratorRequest
impl StructuralPartialEq for UpdateAcceleratorRequest
Auto Trait Implementations§
impl Freeze for UpdateAcceleratorRequest
impl RefUnwindSafe for UpdateAcceleratorRequest
impl Send for UpdateAcceleratorRequest
impl Sync for UpdateAcceleratorRequest
impl Unpin for UpdateAcceleratorRequest
impl UnwindSafe for UpdateAcceleratorRequest
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