pub struct CatalogProviderConfig {
pub id: String,
pub name: Option<String>,
pub description: Option<String>,
pub logo_url: Option<String>,
pub website_url: Option<String>,
pub stac_version: Option<String>,
pub catalog_ids: Option<Vec<String>>,
}Expand description
YAML-deserialization shape for a provider entry. Converted to
CatalogProvider via TryFrom.
Fields§
§id: String§name: Option<String>§description: Option<String>§logo_url: Option<String>§website_url: Option<String>§stac_version: Option<String>§catalog_ids: Option<Vec<String>>Trait Implementations§
Source§impl Debug for CatalogProviderConfig
impl Debug for CatalogProviderConfig
Source§impl<'de> Deserialize<'de> for CatalogProviderConfig
impl<'de> Deserialize<'de> for CatalogProviderConfig
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 TryFrom<CatalogProviderConfig> for CatalogProvider
impl TryFrom<CatalogProviderConfig> for CatalogProvider
Source§type Error = SuperSTACError
type Error = SuperSTACError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CatalogProviderConfig
impl RefUnwindSafe for CatalogProviderConfig
impl Send for CatalogProviderConfig
impl Sync for CatalogProviderConfig
impl Unpin for CatalogProviderConfig
impl UnsafeUnpin for CatalogProviderConfig
impl UnwindSafe for CatalogProviderConfig
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