pub struct Catalog {
pub groups: Vec<CatalogGroup>,
pub name: String,
}
Expand description
Catalog
JSON schema
{
"title": "Catalog",
"type": "object",
"required": [
"groups",
"name"
],
"properties": {
"groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"baseLocation",
"name",
"schemas"
],
"properties": {
"baseLocation": {
"type": "string"
},
"name": {
"type": "string"
},
"schemas": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"location"
],
"properties": {
"id": {
"type": "string"
},
"location": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"name": {
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§groups: Vec<CatalogGroup>
§name: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Catalog
impl<'de> Deserialize<'de> for Catalog
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
impl Eq for Catalog
impl StructuralPartialEq for Catalog
Auto Trait Implementations§
impl Freeze for Catalog
impl RefUnwindSafe for Catalog
impl Send for Catalog
impl Sync for Catalog
impl Unpin for Catalog
impl UnwindSafe for Catalog
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