pub struct Input {
pub source: InputSource,
pub operation_selection: Option<OperationSelection>,
pub description: Option<Description>,
pub path_modification: Option<PathModification>,
/* private fields */
}
Fields§
§source: InputSource
§operation_selection: Option<OperationSelection>
§description: Option<Description>
§path_modification: Option<PathModification>
Implementations§
Source§impl Input
impl Input
pub fn load(self, base: &Path) -> Result<Self>
pub fn operations(&self) -> impl Iterator<Item = (&str, &str, &Operation)>
pub fn components(&mut self) -> Option<Components>
pub fn security(&mut self) -> Option<Vec<SecurityRequirement>>
pub fn extensions(&mut self) -> IndexMap<String, Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Input
impl<'de> Deserialize<'de> for Input
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
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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