pub struct RecordData<TProperties> {
pub source: TaggedContainerReference,
pub properties: TProperties,
}Expand description
Data to be written to a record.
The TProperties type parameter is used to specify the property object.
A generic version could be HashMap<String, RawValue>.
Fields§
§source: TaggedContainerReferenceThe container of the property.
properties: TPropertiesThe properties to be written.
Trait Implementations§
Source§impl<TProperties: Clone> Clone for RecordData<TProperties>
impl<TProperties: Clone> Clone for RecordData<TProperties>
Source§fn clone(&self) -> RecordData<TProperties>
fn clone(&self) -> RecordData<TProperties>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<TProperties: Debug> Debug for RecordData<TProperties>
impl<TProperties: Debug> Debug for RecordData<TProperties>
Source§impl<'de, TProperties> Deserialize<'de> for RecordData<TProperties>where
TProperties: Deserialize<'de>,
impl<'de, TProperties> Deserialize<'de> for RecordData<TProperties>where
TProperties: Deserialize<'de>,
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
Auto Trait Implementations§
impl<TProperties> Freeze for RecordData<TProperties>where
TProperties: Freeze,
impl<TProperties> RefUnwindSafe for RecordData<TProperties>where
TProperties: RefUnwindSafe,
impl<TProperties> Send for RecordData<TProperties>where
TProperties: Send,
impl<TProperties> Sync for RecordData<TProperties>where
TProperties: Sync,
impl<TProperties> Unpin for RecordData<TProperties>where
TProperties: Unpin,
impl<TProperties> UnwindSafe for RecordData<TProperties>where
TProperties: UnwindSafe,
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