pub struct AttachmentRef {
pub seq: u64,
pub index: usize,
}Expand description
A catalog attachment’s place in the window.
The sequence number identifies the user message carrying it; the index its position in that message’s attachments.
Fields§
§seq: u64Sequence number of the user message carrying the attachment.
index: usizeIndex of the attachment within that message.
Trait Implementations§
Source§impl Clone for AttachmentRef
impl Clone for AttachmentRef
impl Copy for AttachmentRef
Source§impl Debug for AttachmentRef
impl Debug for AttachmentRef
impl Eq for AttachmentRef
Source§impl Hash for AttachmentRef
impl Hash for AttachmentRef
Source§impl PartialEq for AttachmentRef
impl PartialEq for AttachmentRef
impl StructuralPartialEq for AttachmentRef
Auto Trait Implementations§
impl Forget for AttachmentRef
impl Freeze for AttachmentRef
impl Move for AttachmentRef
impl RefUnwindSafe for AttachmentRef
impl Send for AttachmentRef
impl Sync for AttachmentRef
impl Unpin for AttachmentRef
impl UnsafeUnpin for AttachmentRef
impl UnwindSafe for AttachmentRef
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<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.