pub struct LegacyOperationBinding { /* private fields */ }Expand description
Product-owned binding from one legacy route to a canonical operation.
Implementations§
Source§impl LegacyOperationBinding
impl LegacyOperationBinding
Sourcepub fn legacy_name(&self) -> &str
pub fn legacy_name(&self) -> &str
Returns the historical operation name.
Sourcepub fn canonical_name(&self) -> &OperationName
pub fn canonical_name(&self) -> &OperationName
Returns the canonical operation name.
Sourcepub const fn tool(&self) -> LegacyTool
pub const fn tool(&self) -> LegacyTool
Returns the legacy tool owner.
Sourcepub const fn access(&self) -> LegacyAccess
pub const fn access(&self) -> LegacyAccess
Returns the legacy authorization class.
Sourcepub const fn destructive(&self) -> bool
pub const fn destructive(&self) -> bool
Returns the historical destructive flag.
Sourcepub const fn transport(&self) -> LegacyTransport
pub const fn transport(&self) -> LegacyTransport
Returns historical transport exposure.
Sourcepub fn required_params(&self) -> &[String]
pub fn required_params(&self) -> &[String]
Returns required legacy fields.
Sourcepub fn required_any(&self) -> &[Vec<String>]
pub fn required_any(&self) -> &[Vec<String>]
Returns alternative complete legacy field groups.
Trait Implementations§
Source§impl Clone for LegacyOperationBinding
impl Clone for LegacyOperationBinding
Source§fn clone(&self) -> LegacyOperationBinding
fn clone(&self) -> LegacyOperationBinding
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 LegacyOperationBinding
impl Debug for LegacyOperationBinding
Source§impl<'de> Deserialize<'de> for LegacyOperationBinding
impl<'de> Deserialize<'de> for LegacyOperationBinding
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
Source§impl PartialEq for LegacyOperationBinding
impl PartialEq for LegacyOperationBinding
Source§fn eq(&self, other: &LegacyOperationBinding) -> bool
fn eq(&self, other: &LegacyOperationBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LegacyOperationBinding
impl StructuralPartialEq for LegacyOperationBinding
Auto Trait Implementations§
impl Freeze for LegacyOperationBinding
impl RefUnwindSafe for LegacyOperationBinding
impl Send for LegacyOperationBinding
impl Sync for LegacyOperationBinding
impl Unpin for LegacyOperationBinding
impl UnsafeUnpin for LegacyOperationBinding
impl UnwindSafe for LegacyOperationBinding
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
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
Compare self to
key and return true if they are equal.