pub struct SchemaInfo {
pub name: Option<String>,
pub schema: Schema,
pub location: Option<Url>,
/* private fields */
}
Expand description
Contains information for a specific schema
Fields§
§name: Option<String>
Name of the schema.
schema: Schema
The actual schema data.
location: Option<Url>
Location the schema was load from.
Implementations§
Source§impl SchemaInfo
impl SchemaInfo
Sourcepub fn namespace_id(&self) -> NamespaceId
pub fn namespace_id(&self) -> NamespaceId
Get the id of the namespace this schema belongs to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaInfo
impl RefUnwindSafe for SchemaInfo
impl Send for SchemaInfo
impl Sync for SchemaInfo
impl Unpin for SchemaInfo
impl UnwindSafe for SchemaInfo
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