#[non_exhaustive]pub enum ItemContainer {
Logs(Vec<Log>),
}
Expand description
A container for a list of multiple items.
It’s considered a single envelope item, with its type
corresponding to the contained items’
type
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl ItemContainer
impl ItemContainer
Trait Implementations§
Source§impl Clone for ItemContainer
impl Clone for ItemContainer
Source§fn clone(&self) -> ItemContainer
fn clone(&self) -> ItemContainer
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ItemContainer
impl Debug for ItemContainer
Source§impl From<ItemContainer> for EnvelopeItem
impl From<ItemContainer> for EnvelopeItem
Source§fn from(container: ItemContainer) -> EnvelopeItem
fn from(container: ItemContainer) -> EnvelopeItem
Converts to this type from the input type.
Source§impl PartialEq for ItemContainer
impl PartialEq for ItemContainer
impl StructuralPartialEq for ItemContainer
Auto Trait Implementations§
impl Freeze for ItemContainer
impl RefUnwindSafe for ItemContainer
impl Send for ItemContainer
impl Sync for ItemContainer
impl Unpin for ItemContainer
impl UnwindSafe for ItemContainer
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