pub struct DatabaseRecord {
pub data_type: String,
pub data_item_hex: String,
pub uuid_hex: String,
pub hash_item_hex: String,
pub prev_hash_hex: Option<String>,
pub hash_type: String,
pub timestamp: String,
}Fields§
§data_type: String§data_item_hex: String§uuid_hex: String§hash_item_hex: String§prev_hash_hex: Option<String>§hash_type: String§timestamp: StringTrait Implementations§
Source§impl Clone for DatabaseRecord
impl Clone for DatabaseRecord
Source§fn clone(&self) -> DatabaseRecord
fn clone(&self) -> DatabaseRecord
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 DatabaseRecord
impl Debug for DatabaseRecord
Source§impl Default for DatabaseRecord
impl Default for DatabaseRecord
Source§fn default() -> DatabaseRecord
fn default() -> DatabaseRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseRecord
impl<'de> Deserialize<'de> for DatabaseRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DatabaseRecord
impl PartialEq for DatabaseRecord
Source§fn eq(&self, other: &DatabaseRecord) -> bool
fn eq(&self, other: &DatabaseRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatabaseRecord
impl Serialize for DatabaseRecord
impl Eq for DatabaseRecord
impl StructuralPartialEq for DatabaseRecord
Auto Trait Implementations§
impl Freeze for DatabaseRecord
impl RefUnwindSafe for DatabaseRecord
impl Send for DatabaseRecord
impl Sync for DatabaseRecord
impl Unpin for DatabaseRecord
impl UnsafeUnpin for DatabaseRecord
impl UnwindSafe for DatabaseRecord
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