pub struct DagDbCatalogLookupResponse {Show 17 fields
pub schema_version: String,
pub tenant_id: String,
pub namespace: String,
pub catalog_id: String,
pub catalog_level: u32,
pub title: SafeMetadata,
pub summary: SafeMetadata,
pub keywords: Vec<SafeMetadata>,
pub status: MemoryStatus,
pub validation_status: ValidationStatus,
pub council_status: CouncilReviewStatus,
pub dag_finality_status: DagFinalityStatus,
pub latest_receipt_hash: String,
pub memory_id: Option<String>,
pub parent_catalog_id: Option<String>,
pub children: Option<Vec<CatalogEntryResponse>>,
pub routes: Option<Vec<String>>,
}Expand description
Catalog lookup response.
Fields§
§schema_version: StringStable wire-contract version (dagdb_catalog_lookup_response_v1).
tenant_id: String§namespace: String§catalog_id: String§catalog_level: u32§title: SafeMetadata§summary: SafeMetadata§keywords: Vec<SafeMetadata>§status: MemoryStatus§validation_status: ValidationStatus§council_status: CouncilReviewStatus§dag_finality_status: DagFinalityStatus§latest_receipt_hash: String§memory_id: Option<String>§parent_catalog_id: Option<String>§children: Option<Vec<CatalogEntryResponse>>§routes: Option<Vec<String>>Trait Implementations§
Source§impl Clone for DagDbCatalogLookupResponse
impl Clone for DagDbCatalogLookupResponse
Source§fn clone(&self) -> DagDbCatalogLookupResponse
fn clone(&self) -> DagDbCatalogLookupResponse
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 DagDbCatalogLookupResponse
impl Debug for DagDbCatalogLookupResponse
Source§impl<'de> Deserialize<'de> for DagDbCatalogLookupResponse
impl<'de> Deserialize<'de> for DagDbCatalogLookupResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbCatalogLookupResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbCatalogLookupResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbCatalogLookupResponse
Source§impl PartialEq for DagDbCatalogLookupResponse
impl PartialEq for DagDbCatalogLookupResponse
Source§fn eq(&self, other: &DagDbCatalogLookupResponse) -> bool
fn eq(&self, other: &DagDbCatalogLookupResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbCatalogLookupResponse
impl Serialize for DagDbCatalogLookupResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DagDbCatalogLookupResponse
Auto Trait Implementations§
impl Freeze for DagDbCatalogLookupResponse
impl RefUnwindSafe for DagDbCatalogLookupResponse
impl Send for DagDbCatalogLookupResponse
impl Sync for DagDbCatalogLookupResponse
impl Unpin for DagDbCatalogLookupResponse
impl UnsafeUnpin for DagDbCatalogLookupResponse
impl UnwindSafe for DagDbCatalogLookupResponse
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