pub struct Registry {
pub fragments: HashMap<String, Fragment>,
pub blueprints: HashMap<String, Blueprint>,
pub schemas: HashMap<String, String>,
pub concrete_schemas: HashMap<String, String>,
}Expand description
Stores definitions for fragments, blueprints, and concrete schemas.
Fields§
§fragments: HashMap<String, Fragment>@openapi-fragment Name(arg1, arg2)
blueprints: HashMap<String, Blueprint>@openapi<T, U> -> key is Name (“Page”)
schemas: HashMap<String, String>Standard @openapi on structs
concrete_schemas: HashMap<String, String>Concrete schemas generated from generics (e.g. Page_User)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnwindSafe for Registry
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