pub struct BatchParams<'a> {
pub api_key: &'a [u8; 16],
pub schema_type: SchemaType,
pub version: u8,
pub batch_id: u64,
pub data: &'a [u8],
}Expand description
Parameters for encoding a batch.
Fields§
§api_key: &'a [u8; 16]§schema_type: SchemaType§version: u8§batch_id: u64§data: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for BatchParams<'a>
impl<'a> RefUnwindSafe for BatchParams<'a>
impl<'a> Send for BatchParams<'a>
impl<'a> Sync for BatchParams<'a>
impl<'a> Unpin for BatchParams<'a>
impl<'a> UnsafeUnpin for BatchParams<'a>
impl<'a> UnwindSafe for BatchParams<'a>
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