pub struct DiscoveryCatalogGroup {
pub id: DiscoveryGroupId,
pub catalog_id: DiscoveryCatalogId,
pub source: DiscoveryCatalogSource,
pub title: String,
pub description: Option<String>,
pub status: DiscoveryItemStatus,
pub item_count: u64,
pub hidden_item_count: u64,
pub items: Vec<DiscoveryCatalogItem>,
pub last_refreshed_at: Option<OffsetDateTime>,
}Fields§
§id: DiscoveryGroupId§catalog_id: DiscoveryCatalogId§source: DiscoveryCatalogSource§title: String§description: Option<String>§status: DiscoveryItemStatus§item_count: u64§items: Vec<DiscoveryCatalogItem>§last_refreshed_at: Option<OffsetDateTime>Trait Implementations§
Source§impl Clone for DiscoveryCatalogGroup
impl Clone for DiscoveryCatalogGroup
Source§fn clone(&self) -> DiscoveryCatalogGroup
fn clone(&self) -> DiscoveryCatalogGroup
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 DiscoveryCatalogGroup
impl Debug for DiscoveryCatalogGroup
Source§impl<'de> Deserialize<'de> for DiscoveryCatalogGroup
impl<'de> Deserialize<'de> for DiscoveryCatalogGroup
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 DiscoveryCatalogGroup
Source§impl PartialEq for DiscoveryCatalogGroup
impl PartialEq for DiscoveryCatalogGroup
Source§fn eq(&self, other: &DiscoveryCatalogGroup) -> bool
fn eq(&self, other: &DiscoveryCatalogGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiscoveryCatalogGroup
impl Serialize for DiscoveryCatalogGroup
impl StructuralPartialEq for DiscoveryCatalogGroup
Auto Trait Implementations§
impl Freeze for DiscoveryCatalogGroup
impl RefUnwindSafe for DiscoveryCatalogGroup
impl Send for DiscoveryCatalogGroup
impl Sync for DiscoveryCatalogGroup
impl Unpin for DiscoveryCatalogGroup
impl UnsafeUnpin for DiscoveryCatalogGroup
impl UnwindSafe for DiscoveryCatalogGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.