Trait dim_extern_api::IntoQueryShow
source · pub trait IntoQueryShow {
fn as_query_show<'a>(&'a self) -> Option<&'a dyn ExternalQueryShow> { ... }
fn into_query_show(self: Arc<Self>) -> Option<Arc<dyn ExternalQueryShow>> { ... }
}
Provided Methods§
sourcefn as_query_show<'a>(&'a self) -> Option<&'a dyn ExternalQueryShow>
fn as_query_show<'a>(&'a self) -> Option<&'a dyn ExternalQueryShow>
Upcast self
into ExternalQueryShow
. It is important that providers that can query for
tv shows, implements this to return Some(self)
.