Struct json_model::ArrayItems
source · pub struct ArrayItems { /* private fields */ }
Implementations
sourceimpl ArrayItems
impl ArrayItems
pub fn new(
state: &mut State,
path: DocumentPath,
ctx: &Context<'_>
) -> Result<Self, Error>
pub fn allowed_types() -> HashSet<AllowedType>
pub fn build(
state: &mut State,
path: DocumentPath,
ctx: &Context<'_>
) -> Result<Box<dyn Attribute>, Error>
Trait Implementations
sourceimpl Attribute for ArrayItems
impl Attribute for ArrayItems
Auto Trait Implementations
impl RefUnwindSafe for ArrayItems
impl Send for ArrayItems
impl Sync for ArrayItems
impl Unpin for ArrayItems
impl UnwindSafe for ArrayItems
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more