pub struct ProtectionSynfloodRateInt(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for ProtectionSynfloodRateInt
impl BoundedInteger for ProtectionSynfloodRateInt
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 ProtectionSynfloodRateInt
impl Clone for ProtectionSynfloodRateInt
Source§fn clone(&self) -> ProtectionSynfloodRateInt
fn clone(&self) -> ProtectionSynfloodRateInt
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 ProtectionSynfloodRateInt
Source§impl Debug for ProtectionSynfloodRateInt
impl Debug for ProtectionSynfloodRateInt
Source§impl<'de> Deserialize<'de> for ProtectionSynfloodRateInt
impl<'de> Deserialize<'de> for ProtectionSynfloodRateInt
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 ProtectionSynfloodRateInt
impl PartialEq for ProtectionSynfloodRateInt
Source§fn eq(&self, other: &ProtectionSynfloodRateInt) -> bool
fn eq(&self, other: &ProtectionSynfloodRateInt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProtectionSynfloodRateInt
impl PartialOrd for ProtectionSynfloodRateInt
impl StructuralPartialEq for ProtectionSynfloodRateInt
Auto Trait Implementations§
impl Freeze for ProtectionSynfloodRateInt
impl RefUnwindSafe for ProtectionSynfloodRateInt
impl Send for ProtectionSynfloodRateInt
impl Sync for ProtectionSynfloodRateInt
impl Unpin for ProtectionSynfloodRateInt
impl UnsafeUnpin for ProtectionSynfloodRateInt
impl UnwindSafe for ProtectionSynfloodRateInt
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