pub struct DiscoveryPromotionRecord {
pub item_id: DiscoveryItemId,
pub group_id: DiscoveryGroupId,
pub thread_id: ThreadId,
pub turn_id: Option<TurnId>,
pub promotion: DiscoveryPromotionState,
pub cache_status: DiscoveryCacheStatus,
pub reused_count: u64,
pub timestamp: OffsetDateTime,
}Fields§
§item_id: DiscoveryItemId§group_id: DiscoveryGroupId§thread_id: ThreadId§turn_id: Option<TurnId>§promotion: DiscoveryPromotionState§cache_status: DiscoveryCacheStatus§reused_count: u64§timestamp: OffsetDateTimeTrait Implementations§
Source§impl Clone for DiscoveryPromotionRecord
impl Clone for DiscoveryPromotionRecord
Source§fn clone(&self) -> DiscoveryPromotionRecord
fn clone(&self) -> DiscoveryPromotionRecord
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 DiscoveryPromotionRecord
impl Debug for DiscoveryPromotionRecord
Source§impl<'de> Deserialize<'de> for DiscoveryPromotionRecord
impl<'de> Deserialize<'de> for DiscoveryPromotionRecord
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 DiscoveryPromotionRecord
Source§impl PartialEq for DiscoveryPromotionRecord
impl PartialEq for DiscoveryPromotionRecord
Source§fn eq(&self, other: &DiscoveryPromotionRecord) -> bool
fn eq(&self, other: &DiscoveryPromotionRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiscoveryPromotionRecord
impl Serialize for DiscoveryPromotionRecord
impl StructuralPartialEq for DiscoveryPromotionRecord
Auto Trait Implementations§
impl Freeze for DiscoveryPromotionRecord
impl RefUnwindSafe for DiscoveryPromotionRecord
impl Send for DiscoveryPromotionRecord
impl Sync for DiscoveryPromotionRecord
impl Unpin for DiscoveryPromotionRecord
impl UnsafeUnpin for DiscoveryPromotionRecord
impl UnwindSafe for DiscoveryPromotionRecord
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.