pub struct ParsedMapSchema {
pub key: NodeId,
pub value: NodeId,
pub min_size: Option<u32>,
pub max_size: Option<u32>,
}Expand description
Parsed map schema with NodeId references.
Fields§
§key: NodeIdSchema for keys
value: NodeIdSchema for values
min_size: Option<u32>Minimum number of key-value pairs
max_size: Option<u32>Maximum number of key-value pairs
Trait Implementations§
Source§impl Clone for ParsedMapSchema
impl Clone for ParsedMapSchema
Source§fn clone(&self) -> ParsedMapSchema
fn clone(&self) -> ParsedMapSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedMapSchema
impl Debug for ParsedMapSchema
Source§impl<'doc> FromEure<'doc> for ParsedMapSchema
impl<'doc> FromEure<'doc> for ParsedMapSchema
Source§type Error = ParseError
type Error = ParseError
The error type returned by parsing.
Auto Trait Implementations§
impl Freeze for ParsedMapSchema
impl RefUnwindSafe for ParsedMapSchema
impl Send for ParsedMapSchema
impl Sync for ParsedMapSchema
impl Unpin for ParsedMapSchema
impl UnwindSafe for ParsedMapSchema
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