pub struct NamedNumber {
pub name: String,
pub value: i64,
}Expand description
Named number for INTEGER types (e.g., tcp(6) in INTEGER {tcp(6), udp(17)})
Fields§
§name: String§value: i64Trait Implementations§
Source§impl Clone for NamedNumber
impl Clone for NamedNumber
Source§fn clone(&self) -> NamedNumber
fn clone(&self) -> NamedNumber
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 Debug for NamedNumber
impl Debug for NamedNumber
Source§impl PartialEq for NamedNumber
impl PartialEq for NamedNumber
impl StructuralPartialEq for NamedNumber
Auto Trait Implementations§
impl Freeze for NamedNumber
impl RefUnwindSafe for NamedNumber
impl Send for NamedNumber
impl Sync for NamedNumber
impl Unpin for NamedNumber
impl UnsafeUnpin for NamedNumber
impl UnwindSafe for NamedNumber
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