pub struct InboxMessagePk { /* private fields */ }Expand description
Owned primary key for InboxMessage.
Implementations§
Source§impl InboxMessagePk
impl InboxMessagePk
pub const fn new( conversation_id: ConversationId, message_hash: Sha256Hash, ) -> InboxMessagePk
Source§impl InboxMessagePk
impl InboxMessagePk
pub fn borrow(&self) -> InboxMessagePkRef<'_>
Trait Implementations§
Source§impl Clone for InboxMessagePk
impl Clone for InboxMessagePk
Source§impl Debug for InboxMessagePk
impl Debug for InboxMessagePk
impl Eq for InboxMessagePk
Source§impl From<InboxMessagePkRef<'_>> for InboxMessagePk
impl From<InboxMessagePkRef<'_>> for InboxMessagePk
Source§fn from(value: InboxMessagePkRef<'_>) -> Self
fn from(value: InboxMessagePkRef<'_>) -> Self
Converts to this type from the input type.
Source§impl Hash for InboxMessagePk
impl Hash for InboxMessagePk
Source§impl PartialEq for InboxMessagePk
impl PartialEq for InboxMessagePk
impl StructuralPartialEq for InboxMessagePk
Auto Trait Implementations§
impl Freeze for InboxMessagePk
impl RefUnwindSafe for InboxMessagePk
impl Send for InboxMessagePk
impl Sync for InboxMessagePk
impl Unpin for InboxMessagePk
impl UnsafeUnpin for InboxMessagePk
impl UnwindSafe for InboxMessagePk
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,
Source§impl<T> DynEntityId for T
impl<T> DynEntityId for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.