pub struct UpdateSecurityGroupRuleDescriptionsIngressRequest {
pub dry_run: Option<bool>,
pub group_id: Option<String>,
pub group_name: Option<String>,
pub ip_permissions: Vec<IpPermission>,
}Fields§
§dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
group_id: Option<String>The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
group_name: Option<String>[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
ip_permissions: Vec<IpPermission>The IP permissions for the security group rule.
Trait Implementations§
Source§impl Clone for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl Clone for UpdateSecurityGroupRuleDescriptionsIngressRequest
Source§fn clone(&self) -> UpdateSecurityGroupRuleDescriptionsIngressRequest
fn clone(&self) -> UpdateSecurityGroupRuleDescriptionsIngressRequest
Returns a duplicate 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 Default for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl Default for UpdateSecurityGroupRuleDescriptionsIngressRequest
Source§fn default() -> UpdateSecurityGroupRuleDescriptionsIngressRequest
fn default() -> UpdateSecurityGroupRuleDescriptionsIngressRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl PartialEq for UpdateSecurityGroupRuleDescriptionsIngressRequest
Source§fn eq(&self, other: &UpdateSecurityGroupRuleDescriptionsIngressRequest) -> bool
fn eq(&self, other: &UpdateSecurityGroupRuleDescriptionsIngressRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateSecurityGroupRuleDescriptionsIngressRequest
Auto Trait Implementations§
impl Freeze for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl RefUnwindSafe for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl Send for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl Sync for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl Unpin for UpdateSecurityGroupRuleDescriptionsIngressRequest
impl UnwindSafe for UpdateSecurityGroupRuleDescriptionsIngressRequest
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