pub struct OperationSemantics {
pub operation_id: String,
pub auth: Vec<AuthAlternative>,
pub errors: Vec<DeclaredError>,
pub retry: RetryClass,
pub streaming: Option<StreamingKind>,
pub request_body: Option<RequestBodyKind>,
pub pagination: Option<PaginationHint>,
}Expand description
Behaviour that applies to one generated operation.
Fields§
§operation_id: String§auth: Vec<AuthAlternative>§errors: Vec<DeclaredError>§retry: RetryClass§streaming: Option<StreamingKind>§request_body: Option<RequestBodyKind>§pagination: Option<PaginationHint>Trait Implementations§
Source§impl Clone for OperationSemantics
impl Clone for OperationSemantics
Source§impl Debug for OperationSemantics
impl Debug for OperationSemantics
impl Eq for OperationSemantics
Source§impl PartialEq for OperationSemantics
impl PartialEq for OperationSemantics
impl StructuralPartialEq for OperationSemantics
Auto Trait Implementations§
impl Freeze for OperationSemantics
impl RefUnwindSafe for OperationSemantics
impl Send for OperationSemantics
impl Sync for OperationSemantics
impl Unpin for OperationSemantics
impl UnsafeUnpin for OperationSemantics
impl UnwindSafe for OperationSemantics
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