pub struct References { /* private fields */ }Expand description
Ordered References header values.
Implementations§
Source§impl References
impl References
Sourcepub const fn new() -> References
pub const fn new() -> References
Creates an empty references collection.
Sourcepub fn with_message_id(self, message_id: MessageId) -> References
pub fn with_message_id(self, message_id: MessageId) -> References
Adds a message id and returns the updated collection.
Trait Implementations§
Source§impl Clone for References
impl Clone for References
Source§fn clone(&self) -> References
fn clone(&self) -> References
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 References
impl Debug for References
Source§impl Default for References
impl Default for References
Source§fn default() -> References
fn default() -> References
Returns the “default value” for a type. Read more
Source§impl Display for References
impl Display for References
Source§impl PartialEq for References
impl PartialEq for References
Source§fn eq(&self, other: &References) -> bool
fn eq(&self, other: &References) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for References
impl StructuralPartialEq for References
Auto Trait Implementations§
impl Freeze for References
impl RefUnwindSafe for References
impl Send for References
impl Sync for References
impl Unpin for References
impl UnsafeUnpin for References
impl UnwindSafe for References
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