pub struct AppendInput<T = Record> {
pub records: AppendRecordBatch<T>,
pub match_seq_num: Option<SeqNum>,
pub fencing_token: Option<FencingToken>,
}Fields§
§records: AppendRecordBatch<T>§match_seq_num: Option<SeqNum>§fencing_token: Option<FencingToken>Implementations§
Source§impl AppendInput<Record>
impl AppendInput<Record>
pub fn encrypt( self, encryption: &EncryptionSpec, aad: &[u8], ) -> AppendInput<StoredRecord>
Trait Implementations§
Source§impl<T: Clone> Clone for AppendInput<T>
impl<T: Clone> Clone for AppendInput<T>
Source§fn clone(&self) -> AppendInput<T>
fn clone(&self) -> AppendInput<T>
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<T: Debug> Debug for AppendInput<T>
impl<T: Debug> Debug for AppendInput<T>
Source§impl From<AppendInput> for AppendInput<StoredRecord>
impl From<AppendInput> for AppendInput<StoredRecord>
Source§fn from(value: AppendInput<Record>) -> Self
fn from(value: AppendInput<Record>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for AppendInput<T>
impl<T> RefUnwindSafe for AppendInput<T>where
T: RefUnwindSafe,
impl<T> Send for AppendInput<T>where
T: Send,
impl<T> Sync for AppendInput<T>where
T: Sync,
impl<T> Unpin for AppendInput<T>where
T: Unpin,
impl<T> UnsafeUnpin for AppendInput<T>
impl<T> UnwindSafe for AppendInput<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