pub struct DnsQueryOpcodeId(/* private fields */);
Expand description
DnsQueryOpcodeId
JSON schema
{
"type": "integer",
"enum": [
3,
6,
0,
1,
2,
99,
4,
5
]
}
Trait Implementations§
Source§impl Clone for DnsQueryOpcodeId
impl Clone for DnsQueryOpcodeId
Source§fn clone(&self) -> DnsQueryOpcodeId
fn clone(&self) -> DnsQueryOpcodeId
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 DnsQueryOpcodeId
impl Debug for DnsQueryOpcodeId
Source§impl Deref for DnsQueryOpcodeId
impl Deref for DnsQueryOpcodeId
Source§impl<'de> Deserialize<'de> for DnsQueryOpcodeId
impl<'de> Deserialize<'de> for DnsQueryOpcodeId
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 From<&DnsQueryOpcodeId> for DnsQueryOpcodeId
impl From<&DnsQueryOpcodeId> for DnsQueryOpcodeId
Source§fn from(value: &DnsQueryOpcodeId) -> Self
fn from(value: &DnsQueryOpcodeId) -> Self
Converts to this type from the input type.
Source§impl From<DnsQueryOpcodeId> for i64
impl From<DnsQueryOpcodeId> for i64
Source§fn from(value: DnsQueryOpcodeId) -> Self
fn from(value: DnsQueryOpcodeId) -> Self
Converts to this type from the input type.
Source§impl Serialize for DnsQueryOpcodeId
impl Serialize for DnsQueryOpcodeId
Source§impl TryFrom<i64> for DnsQueryOpcodeId
impl TryFrom<i64> for DnsQueryOpcodeId
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for DnsQueryOpcodeId
impl RefUnwindSafe for DnsQueryOpcodeId
impl Send for DnsQueryOpcodeId
impl Sync for DnsQueryOpcodeId
impl Unpin for DnsQueryOpcodeId
impl UnwindSafe for DnsQueryOpcodeId
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