pub struct AppendRecordParts<T = Record> {
pub timestamp: Option<Timestamp>,
pub record: Metered<T>,
}Fields§
§timestamp: Option<Timestamp>§record: Metered<T>Trait Implementations§
Source§impl<T: Clone> Clone for AppendRecordParts<T>
impl<T: Clone> Clone for AppendRecordParts<T>
Source§fn clone(&self) -> AppendRecordParts<T>
fn clone(&self) -> AppendRecordParts<T>
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<T: Debug> Debug for AppendRecordParts<T>
impl<T: Debug> Debug for AppendRecordParts<T>
Source§impl<T> From<AppendRecord<T>> for AppendRecordParts<T>
impl<T> From<AppendRecord<T>> for AppendRecordParts<T>
Source§fn from(record: AppendRecord<T>) -> Self
fn from(record: AppendRecord<T>) -> Self
Converts to this type from the input type.
Source§impl<T> MeteredSize for AppendRecordParts<T>
impl<T> MeteredSize for AppendRecordParts<T>
Source§fn metered_size(&self) -> usize
fn metered_size(&self) -> usize
Return the metered size of a record or batch of records.
Source§impl<T> TryFrom<AppendRecordParts<T>> for AppendRecord<T>
impl<T> TryFrom<AppendRecordParts<T>> for AppendRecord<T>
Auto Trait Implementations§
impl<T> Freeze for AppendRecordParts<T>where
T: Freeze,
impl<T> RefUnwindSafe for AppendRecordParts<T>where
T: RefUnwindSafe,
impl<T> Send for AppendRecordParts<T>where
T: Send,
impl<T> Sync for AppendRecordParts<T>where
T: Sync,
impl<T> Unpin for AppendRecordParts<T>where
T: Unpin,
impl<T> UnsafeUnpin for AppendRecordParts<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AppendRecordParts<T>where
T: 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