pub struct ProtectionSynfloodBurstInt(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for ProtectionSynfloodBurstInt
impl BoundedInteger for ProtectionSynfloodBurstInt
const MIN: Option<i128>
const MAX: Option<i128>
const DEFAULT: Option<i128>
const TYPE_DESCRIPTION: &'static str = "a valid integer"
fn get(&self) -> i128
fn new(value: i128) -> Result<Self, BoundedIntegerError>
fn validate(value: i128) -> Result<(), BoundedIntegerError>
Source§impl Clone for ProtectionSynfloodBurstInt
impl Clone for ProtectionSynfloodBurstInt
Source§fn clone(&self) -> ProtectionSynfloodBurstInt
fn clone(&self) -> ProtectionSynfloodBurstInt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProtectionSynfloodBurstInt
Source§impl Debug for ProtectionSynfloodBurstInt
impl Debug for ProtectionSynfloodBurstInt
Source§impl<'de> Deserialize<'de> for ProtectionSynfloodBurstInt
impl<'de> Deserialize<'de> for ProtectionSynfloodBurstInt
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProtectionSynfloodBurstInt
impl PartialEq for ProtectionSynfloodBurstInt
Source§fn eq(&self, other: &ProtectionSynfloodBurstInt) -> bool
fn eq(&self, other: &ProtectionSynfloodBurstInt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProtectionSynfloodBurstInt
impl PartialOrd for ProtectionSynfloodBurstInt
impl StructuralPartialEq for ProtectionSynfloodBurstInt
Auto Trait Implementations§
impl Freeze for ProtectionSynfloodBurstInt
impl RefUnwindSafe for ProtectionSynfloodBurstInt
impl Send for ProtectionSynfloodBurstInt
impl Sync for ProtectionSynfloodBurstInt
impl Unpin for ProtectionSynfloodBurstInt
impl UnsafeUnpin for ProtectionSynfloodBurstInt
impl UnwindSafe for ProtectionSynfloodBurstInt
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