pub struct Parents {
pub id: String,
pub primary_parent: Option<bool>,
pub type_: String,
pub view_id: Option<String>,
}
Expand description
Parents
JSON schema
{
"examples": [
{
"ID": "91",
"Type": "base_weakness",
"ViewID": "1003"
}
],
"type": "object",
"required": [
"ID",
"Type"
],
"properties": {
"ID": {
"type": "string",
"format": "integer"
},
"Primary_Parent": {
"type": "boolean"
},
"Type": {
"type": "string",
"format": "integer"
},
"ViewID": {
"type": "string",
"format": "integer"
}
}
}
Fields§
§id: String
§primary_parent: Option<bool>
§type_: String
§view_id: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Parents
impl<'de> Deserialize<'de> for Parents
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 Parents
impl RefUnwindSafe for Parents
impl Send for Parents
impl Sync for Parents
impl Unpin for Parents
impl UnwindSafe for Parents
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