Struct aws_sdk_shield::types::Limit
source · #[non_exhaustive]pub struct Limit {
pub type: Option<String>,
pub max: i64,
}
Expand description
Specifies how many protections of a given type you can create.
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.type: Option<String>
The type of protection.
max: i64
The maximum number of protections that can be created for the specified Type
.
Implementations§
Trait Implementations§
source§impl PartialEq<Limit> for Limit
impl PartialEq<Limit> for Limit
impl StructuralPartialEq for Limit
Auto Trait Implementations§
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnwindSafe for Limit
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