pub struct DsSchema {
pub id: u32,
pub name: String,
pub fields: BTreeMap<u32, FieldConstraint>,
}Expand description
Schema definition for structured data.
Fields§
§id: u32Schema ID.
name: StringSchema name.
fields: BTreeMap<u32, FieldConstraint>Fields in the schema.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DsSchema
impl<'de> Deserialize<'de> for DsSchema
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
Source§impl PartialOrd for DsSchema
impl PartialOrd for DsSchema
impl StructuralPartialEq for DsSchema
Auto Trait Implementations§
impl Freeze for DsSchema
impl RefUnwindSafe for DsSchema
impl Send for DsSchema
impl Sync for DsSchema
impl Unpin for DsSchema
impl UnsafeUnpin for DsSchema
impl UnwindSafe for DsSchema
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