pub struct MaxChildren(/* private fields */);Implementations§
Source§impl MaxChildren
impl MaxChildren
pub const SERVER_MAX: Self
pub fn new(value: u16) -> Result<Self, DomainError>
pub const fn get(self) -> u16
Trait Implementations§
Source§impl Clone for MaxChildren
impl Clone for MaxChildren
Source§fn clone(&self) -> MaxChildren
fn clone(&self) -> MaxChildren
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 MaxChildren
Source§impl Debug for MaxChildren
impl Debug for MaxChildren
Source§impl<'de> Deserialize<'de> for MaxChildren
impl<'de> Deserialize<'de> for MaxChildren
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
impl Eq for MaxChildren
Source§impl From<MaxChildren> for u16
impl From<MaxChildren> for u16
Source§fn from(value: MaxChildren) -> Self
fn from(value: MaxChildren) -> Self
Converts to this type from the input type.
Source§impl Ord for MaxChildren
impl Ord for MaxChildren
Source§fn cmp(&self, other: &MaxChildren) -> Ordering
fn cmp(&self, other: &MaxChildren) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MaxChildren
impl PartialEq for MaxChildren
Source§impl PartialOrd for MaxChildren
impl PartialOrd for MaxChildren
Source§impl Serialize for MaxChildren
impl Serialize for MaxChildren
impl StructuralPartialEq for MaxChildren
Auto Trait Implementations§
impl Freeze for MaxChildren
impl RefUnwindSafe for MaxChildren
impl Send for MaxChildren
impl Sync for MaxChildren
impl Unpin for MaxChildren
impl UnsafeUnpin for MaxChildren
impl UnwindSafe for MaxChildren
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