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