Struct burn::record::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: String
Float type used to record the item.
int: String
Int type used to record the item.
format: String
Format used to record the item.
version: String
Burn record version used to record the item.
settings: String
Settings 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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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