pub struct Kernel {
pub is_system: Option<bool>,
pub name: String,
pub path: Option<String>,
pub system_call: Option<String>,
pub type_: Option<String>,
pub type_id: KernelTypeId,
}
Expand description
Kernel
JSON schema
{
"type": "object",
"required": [
"name",
"type_id"
],
"properties": {
"is_system": {
"type": "boolean"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"system_call": {
"type": "string"
},
"type": {
"type": "string"
},
"type_id": {
"type": "integer",
"enum": [
0,
1,
2,
99
]
}
}
}
Fields§
§is_system: Option<bool>
§name: String
§path: Option<String>
§system_call: Option<String>
§type_: Option<String>
§type_id: KernelTypeId
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Kernel
impl<'de> Deserialize<'de> for Kernel
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
Auto Trait Implementations§
impl Freeze for Kernel
impl RefUnwindSafe for Kernel
impl Send for Kernel
impl Sync for Kernel
impl Unpin for Kernel
impl UnwindSafe for Kernel
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