pub struct Scan {
pub name: Option<String>,
pub type_: Option<String>,
pub type_id: ScanTypeId,
pub uid: Option<String>,
}
Expand description
Scan
JSON schema
{
"type": "object",
"required": [
"type_id"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"type_id": {
"type": "integer",
"enum": [
3,
6,
0,
1,
2,
99,
4,
5,
7
]
},
"uid": {
"type": "string"
}
}
}
Fields§
§name: Option<String>
§type_: Option<String>
§type_id: ScanTypeId
§uid: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scan
impl<'de> Deserialize<'de> for Scan
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 Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnwindSafe for Scan
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