pub struct SdkMethodMapping { /* private fields */ }Implementations§
Source§impl SdkMethodMapping
impl SdkMethodMapping
pub fn new( sdk: Sdk, method: MethodReference, api_methods: Vec<ApiMethod>, ) -> Self
pub fn sdk(&self) -> &Sdk
pub fn method(&self) -> &MethodReference
pub fn api_methods(&self) -> &[ApiMethod]
Source§impl SdkMethodMapping
impl SdkMethodMapping
Sourcepub fn with_unresolved_api_methods(self, methods: Vec<ApiMethod>) -> Self
pub fn with_unresolved_api_methods(self, methods: Vec<ApiMethod>) -> Self
Retain source operations that the selected cloud catalog cannot resolve.
pub fn unresolved_api_methods(&self) -> &[ApiMethod]
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
An empty resolved list is known to make no calls only when no source operations remain unresolved. Unsupported SDK releases return errors.
Trait Implementations§
Source§impl Clone for SdkMethodMapping
impl Clone for SdkMethodMapping
Source§impl Debug for SdkMethodMapping
impl Debug for SdkMethodMapping
Source§impl<'de> Deserialize<'de> for SdkMethodMapping
impl<'de> Deserialize<'de> for SdkMethodMapping
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
impl Eq for SdkMethodMapping
Source§impl Hash for SdkMethodMapping
impl Hash for SdkMethodMapping
Source§impl Ord for SdkMethodMapping
impl Ord for SdkMethodMapping
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SdkMethodMapping
impl PartialEq for SdkMethodMapping
Source§impl PartialOrd for SdkMethodMapping
impl PartialOrd for SdkMethodMapping
Source§impl Serialize for SdkMethodMapping
impl Serialize for SdkMethodMapping
impl StructuralPartialEq for SdkMethodMapping
Auto Trait Implementations§
impl Freeze for SdkMethodMapping
impl RefUnwindSafe for SdkMethodMapping
impl Send for SdkMethodMapping
impl Sync for SdkMethodMapping
impl Unpin for SdkMethodMapping
impl UnsafeUnpin for SdkMethodMapping
impl UnwindSafe for SdkMethodMapping
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