pub enum OperationIdentifier {
OperationRef(String),
OperationId(String),
}
Variants§
OperationRef(String)
A relative or absolute URI reference to an OAS operation. This field is mutually exclusive of the operationId
field, and MUST point to an Operation Object. Relative operationRef
values MAY be used to locate an existing Operation Object in the OpenAPI definition.
OperationId(String)
The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the
operationRef` field.
Trait Implementations§
Source§impl Clone for OperationIdentifier
impl Clone for OperationIdentifier
Source§fn clone(&self) -> OperationIdentifier
fn clone(&self) -> OperationIdentifier
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 OperationIdentifier
impl Debug for OperationIdentifier
Auto Trait Implementations§
impl Freeze for OperationIdentifier
impl RefUnwindSafe for OperationIdentifier
impl Send for OperationIdentifier
impl Sync for OperationIdentifier
impl Unpin for OperationIdentifier
impl UnwindSafe for OperationIdentifier
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