#[non_exhaustive]pub enum MainExtraRecord {
Locator(LocatorRecord),
ArchiveMetadata(ArchiveMetadataRecord),
}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.
Locator(LocatorRecord)
ArchiveMetadata(ArchiveMetadataRecord)
Trait Implementations§
Source§impl Clone for MainExtraRecord
impl Clone for MainExtraRecord
Source§fn clone(&self) -> MainExtraRecord
fn clone(&self) -> MainExtraRecord
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 MainExtraRecord
impl Debug for MainExtraRecord
Source§impl PartialEq for MainExtraRecord
impl PartialEq for MainExtraRecord
Source§fn eq(&self, other: &MainExtraRecord) -> bool
fn eq(&self, other: &MainExtraRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MainExtraRecord
impl StructuralPartialEq for MainExtraRecord
Auto Trait Implementations§
impl Freeze for MainExtraRecord
impl RefUnwindSafe for MainExtraRecord
impl Send for MainExtraRecord
impl Sync for MainExtraRecord
impl Unpin for MainExtraRecord
impl UnsafeUnpin for MainExtraRecord
impl UnwindSafe for MainExtraRecord
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