Struct BurnMetadata
pub struct BurnMetadata {
pub float: String,
pub int: String,
pub format: String,
pub version: String,
pub settings: String,
}Expand description
Metadata of a record.
Fields§
§float: StringFloat type used to record the item.
int: StringInt type used to record the item.
format: StringFormat used to record the item.
version: StringBurn record version used to record the item.
settings: StringSettings used to record the item.
Implementations§
§impl BurnMetadata
impl BurnMetadata
Trait Implementations§
§impl Debug for BurnMetadata
impl Debug for BurnMetadata
§impl<'de> Deserialize<'de> for BurnMetadata
impl<'de> Deserialize<'de> for BurnMetadata
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BurnMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BurnMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for BurnMetadata
impl PartialEq for BurnMetadata
§impl Serialize for BurnMetadata
impl Serialize for BurnMetadata
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for BurnMetadata
impl StructuralPartialEq for BurnMetadata
Auto Trait Implementations§
impl Freeze for BurnMetadata
impl RefUnwindSafe for BurnMetadata
impl Send for BurnMetadata
impl Sync for BurnMetadata
impl Unpin for BurnMetadata
impl UnwindSafe for BurnMetadata
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more