pub struct CatalogUnsupportedKindError {
pub kind: CatalogUnsupportedKindErrorKind,
pub message: String,
pub requested_kinds: Vec<CatalogCandidateKind>,
pub supported_kinds: Vec<CatalogCandidateKind>,
}Expand description
The request asked for a candidate kind this runtime does not serve.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§kind: CatalogUnsupportedKindErrorKindDiscriminator: an unsupported candidate kind was requested
message: StringHuman-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
requested_kinds: Vec<CatalogCandidateKind>The kinds from the request that are not supported.
supported_kinds: Vec<CatalogCandidateKind>Every candidate kind this runtime can serve.
Trait Implementations§
Source§impl Clone for CatalogUnsupportedKindError
impl Clone for CatalogUnsupportedKindError
Source§fn clone(&self) -> CatalogUnsupportedKindError
fn clone(&self) -> CatalogUnsupportedKindError
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 CatalogUnsupportedKindError
impl Debug for CatalogUnsupportedKindError
Source§impl Default for CatalogUnsupportedKindError
impl Default for CatalogUnsupportedKindError
Source§fn default() -> CatalogUnsupportedKindError
fn default() -> CatalogUnsupportedKindError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogUnsupportedKindError
impl<'de> Deserialize<'de> for CatalogUnsupportedKindError
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
Auto Trait Implementations§
impl Freeze for CatalogUnsupportedKindError
impl RefUnwindSafe for CatalogUnsupportedKindError
impl Send for CatalogUnsupportedKindError
impl Sync for CatalogUnsupportedKindError
impl Unpin for CatalogUnsupportedKindError
impl UnsafeUnpin for CatalogUnsupportedKindError
impl UnwindSafe for CatalogUnsupportedKindError
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