pub enum ExtractedItem {
Schema {
name: Option<String>,
content: String,
line: usize,
},
Fragment {
name: String,
params: Vec<String>,
content: String,
line: usize,
},
Blueprint {
name: String,
params: Vec<String>,
content: String,
line: usize,
},
RouteDSL {
content: String,
line: usize,
operation_id: String,
},
}Expand description
Extracted item type
Variants§
Schema
Standard @openapi body
Fragment
@openapi-fragment Name(args…)
Blueprint
@openapi<T, U>
RouteDSL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtractedItem
impl RefUnwindSafe for ExtractedItem
impl Send for ExtractedItem
impl Sync for ExtractedItem
impl Unpin for ExtractedItem
impl UnwindSafe for ExtractedItem
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