pub struct RestOperationSelection { /* private fields */ }Expand description
One bounded, anonymous, bodyless REST GET selected from an OpenAPI catalog.
Debug deliberately omits the URL and its path. The URL is not serializable and is available only to the in-crate runtime, which must independently enforce exact-origin authority.
Implementations§
Source§impl RestOperationSelection
impl RestOperationSelection
Sourcepub const fn operation_id(&self) -> &OpenApiOperationId
pub const fn operation_id(&self) -> &OpenApiOperationId
Returns the stable, digest-based catalog operation identity.
Sourcepub const fn documented_response(&self) -> RestDocumentedResponseClass
pub const fn documented_response(&self) -> RestDocumentedResponseClass
Returns the response-media class used in deterministic ranking.
Sourcepub const fn deprecated(&self) -> bool
pub const fn deprecated(&self) -> bool
Returns whether the document marked the selected operation deprecated.
Sourcepub const fn eligible_operation_count(&self) -> u32
pub const fn eligible_operation_count(&self) -> u32
Returns the number of operations that passed every V1 safety filter.
Sourcepub fn target_identity(&self) -> &str
pub fn target_identity(&self) -> &str
Returns the redacted stable scope identity used by replay comparison.
Trait Implementations§
Source§impl Clone for RestOperationSelection
impl Clone for RestOperationSelection
Source§fn clone(&self) -> RestOperationSelection
fn clone(&self) -> RestOperationSelection
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 RestOperationSelection
impl Debug for RestOperationSelection
impl Eq for RestOperationSelection
Source§impl PartialEq for RestOperationSelection
impl PartialEq for RestOperationSelection
impl StructuralPartialEq for RestOperationSelection
Auto Trait Implementations§
impl Freeze for RestOperationSelection
impl RefUnwindSafe for RestOperationSelection
impl Send for RestOperationSelection
impl Sync for RestOperationSelection
impl Unpin for RestOperationSelection
impl UnsafeUnpin for RestOperationSelection
impl UnwindSafe for RestOperationSelection
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more