Struct MessageList
#[non_exhaustive]pub struct MessageList {
pub messages: Items<StoredEntry>,
}Expand description
Stored messages.
Returned by ListMessages.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.messages: Items<StoredEntry>The messages.
Trait Implementations§
§impl Clone for MessageList
impl Clone for MessageList
§fn clone(&self) -> MessageList
fn clone(&self) -> MessageList
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 more§impl Debug for MessageList
impl Debug for MessageList
§impl Default for MessageList
impl Default for MessageList
§fn default() -> MessageList
fn default() -> MessageList
Returns the “default value” for a type. Read more
impl Eq for MessageList
§impl PartialEq for MessageList
impl PartialEq for MessageList
impl StructuralPartialEq for MessageList
§impl TryFrom<&Message> for MessageList
impl TryFrom<&Message> for MessageList
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
§fn try_from(message: &Message) -> Result<Self, DecodeError>
fn try_from(message: &Message) -> Result<Self, DecodeError>
Performs the conversion.
Auto Trait Implementations§
impl !Freeze for MessageList
impl RefUnwindSafe for MessageList
impl Send for MessageList
impl Sync for MessageList
impl Unpin for MessageList
impl UnsafeUnpin for MessageList
impl UnwindSafe for MessageList
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