pub struct SchemaMetadata {
pub id: SchemaId,
pub name: String,
pub version: u32,
pub created_at: u64,
pub updated_at: u64,
pub num_domains: usize,
pub num_predicates: usize,
pub num_variables: usize,
pub description: Option<String>,
}Expand description
Metadata about a stored schema.
Fields§
§id: SchemaIdUnique identifier
name: StringSchema name
version: u32Version number
created_at: u64Creation timestamp (Unix epoch)
updated_at: u64Last modification timestamp
num_domains: usizeNumber of domains
num_predicates: usizeNumber of predicates
num_variables: usizeNumber of variables
description: Option<String>Optional description
Trait Implementations§
Source§impl Clone for SchemaMetadata
impl Clone for SchemaMetadata
Source§impl Debug for SchemaMetadata
impl Debug for SchemaMetadata
Source§impl<'de> Deserialize<'de> for SchemaMetadata
impl<'de> Deserialize<'de> for SchemaMetadata
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 SchemaMetadata
impl RefUnwindSafe for SchemaMetadata
impl Send for SchemaMetadata
impl Sync for SchemaMetadata
impl Unpin for SchemaMetadata
impl UnsafeUnpin for SchemaMetadata
impl UnwindSafe for SchemaMetadata
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