pub struct InboxMessagePkRef<'a> { /* private fields */ }Expand description
Borrowed primary key for InboxMessage.
Implementations§
Source§impl<'a> InboxMessagePkRef<'a>
impl<'a> InboxMessagePkRef<'a>
pub const fn new( conversation_id_ref: &'a ConversationIdRef, message_hash: Sha256Hash, ) -> InboxMessagePkRef<'a>
Trait Implementations§
Source§impl<'a> Clone for InboxMessagePkRef<'a>
impl<'a> Clone for InboxMessagePkRef<'a>
impl<'a> Copy for InboxMessagePkRef<'a>
Source§impl<'a> Debug for InboxMessagePkRef<'a>
impl<'a> Debug for InboxMessagePkRef<'a>
impl<'a> Eq for InboxMessagePkRef<'a>
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<'a> Hash for InboxMessagePkRef<'a>
impl<'a> Hash for InboxMessagePkRef<'a>
Source§impl<'a> PartialEq for InboxMessagePkRef<'a>
impl<'a> PartialEq for InboxMessagePkRef<'a>
impl<'a> StructuralPartialEq for InboxMessagePkRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for InboxMessagePkRef<'a>
impl<'a> RefUnwindSafe for InboxMessagePkRef<'a>
impl<'a> Send for InboxMessagePkRef<'a>
impl<'a> Sync for InboxMessagePkRef<'a>
impl<'a> Unpin for InboxMessagePkRef<'a>
impl<'a> UnsafeUnpin for InboxMessagePkRef<'a>
impl<'a> UnwindSafe for InboxMessagePkRef<'a>
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.