pub struct OperationSummary {
pub operation_id: String,
pub method: String,
pub path: String,
pub tags: Vec<String>,
pub supports_streaming: bool,
}Expand description
Display-friendly subset of OperationInfo used by server list
and (later) by selector resolution and server add/remove.
Fields§
§operation_id: String§method: String§path: String§supports_streaming: boolTrue when any response declares text/event-stream. Surfaces
in the listing so users can spot SSE endpoints at a glance.
Trait Implementations§
Source§impl Clone for OperationSummary
impl Clone for OperationSummary
Source§fn clone(&self) -> OperationSummary
fn clone(&self) -> OperationSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OperationSummary
impl Debug for OperationSummary
Source§impl From<&OperationInfo> for OperationSummary
impl From<&OperationInfo> for OperationSummary
Source§fn from(op: &OperationInfo) -> Self
fn from(op: &OperationInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationSummary
impl RefUnwindSafe for OperationSummary
impl Send for OperationSummary
impl Sync for OperationSummary
impl Unpin for OperationSummary
impl UnsafeUnpin for OperationSummary
impl UnwindSafe for OperationSummary
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