#[repr(u8)]pub enum ArchivedMetaValuewhere
String: Archive,
AsNaiveDate: ArchiveWith<NaiveDate>,
AsDecimal: ArchiveWith<Decimal>,
bool: Archive,
Amount: Archive,{
String(<String as Archive>::Archived),
Account(<String as Archive>::Archived),
Currency(<String as Archive>::Archived),
Tag(<String as Archive>::Archived),
Link(<String as Archive>::Archived),
Date(<AsNaiveDate as ArchiveWith<NaiveDate>>::Archived),
Number(<AsDecimal as ArchiveWith<Decimal>>::Archived),
Bool(<bool as Archive>::Archived),
Amount(<Amount as Archive>::Archived),
None,
}Expand description
An archived MetaValue
Variants§
String(<String as Archive>::Archived)
The archived counterpart of MetaValue::String
Tuple Fields
0: <String as Archive>::ArchivedThe archived counterpart of MetaValue::String::0
Account(<String as Archive>::Archived)
The archived counterpart of MetaValue::Account
Tuple Fields
0: <String as Archive>::ArchivedThe archived counterpart of MetaValue::Account::0
Currency(<String as Archive>::Archived)
The archived counterpart of MetaValue::Currency
Tuple Fields
0: <String as Archive>::ArchivedThe archived counterpart of MetaValue::Currency::0
Tag(<String as Archive>::Archived)
The archived counterpart of MetaValue::Tag
Tuple Fields
0: <String as Archive>::ArchivedThe archived counterpart of MetaValue::Tag::0
Link(<String as Archive>::Archived)
The archived counterpart of MetaValue::Link
Tuple Fields
0: <String as Archive>::ArchivedThe archived counterpart of MetaValue::Link::0
Date(<AsNaiveDate as ArchiveWith<NaiveDate>>::Archived)
The archived counterpart of MetaValue::Date
Tuple Fields
0: <AsNaiveDate as ArchiveWith<NaiveDate>>::ArchivedThe archived counterpart of MetaValue::Date::0
Number(<AsDecimal as ArchiveWith<Decimal>>::Archived)
The archived counterpart of MetaValue::Number
Tuple Fields
0: <AsDecimal as ArchiveWith<Decimal>>::ArchivedThe archived counterpart of MetaValue::Number::0
Bool(<bool as Archive>::Archived)
The archived counterpart of MetaValue::Bool
Tuple Fields
0: <bool as Archive>::ArchivedThe archived counterpart of MetaValue::Bool::0
Amount(<Amount as Archive>::Archived)
The archived counterpart of MetaValue::Amount
Tuple Fields
0: <Amount as Archive>::ArchivedThe archived counterpart of MetaValue::Amount::0
None
The archived counterpart of MetaValue::None
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMetaValuewhere
String: Archive,
AsNaiveDate: ArchiveWith<NaiveDate>,
AsDecimal: ArchiveWith<Decimal>,
bool: Archive,
Amount: Archive,
<__C as Fallible>::Error: Source,
<String as Archive>::Archived: CheckBytes<__C>,
<AsNaiveDate as ArchiveWith<NaiveDate>>::Archived: CheckBytes<__C>,
<AsDecimal as ArchiveWith<Decimal>>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
<Amount as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedMetaValuewhere
String: Archive,
AsNaiveDate: ArchiveWith<NaiveDate>,
AsDecimal: ArchiveWith<Decimal>,
bool: Archive,
Amount: Archive,
<__C as Fallible>::Error: Source,
<String as Archive>::Archived: CheckBytes<__C>,
<AsNaiveDate as ArchiveWith<NaiveDate>>::Archived: CheckBytes<__C>,
<AsDecimal as ArchiveWith<Decimal>>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
<Amount as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedMetaValuewhere
String: Archive,
AsNaiveDate: ArchiveWith<NaiveDate>,
AsDecimal: ArchiveWith<Decimal>,
bool: Archive,
Amount: Archive,
<String as Archive>::Archived: Portable,
<AsNaiveDate as ArchiveWith<NaiveDate>>::Archived: Portable,
<AsDecimal as ArchiveWith<Decimal>>::Archived: Portable,
<bool as Archive>::Archived: Portable,
<Amount as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedMetaValue
impl RefUnwindSafe for ArchivedMetaValue
impl Send for ArchivedMetaValue
impl Sync for ArchivedMetaValue
impl !Unpin for ArchivedMetaValue
impl UnwindSafe for ArchivedMetaValue
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.