pub struct WriteRecords {
pub scope: Option<Identifier>,
}Fields§
§scope: Option<Identifier>Trait Implementations§
Source§impl Clone for WriteRecords
impl Clone for WriteRecords
Source§fn clone(&self) -> WriteRecords
fn clone(&self) -> WriteRecords
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 moreimpl Contains<WriteRecords> for Operations
Source§impl Debug for WriteRecords
impl Debug for WriteRecords
Source§impl Described for WriteRecords
impl Described for WriteRecords
impl Eq for WriteRecords
Source§impl MemorySize for WriteRecords
impl MemorySize for WriteRecords
fn memory_size(&self) -> usize
Source§impl OperationDeclaration for WriteRecords
impl OperationDeclaration for WriteRecords
const ID: &'static str = "storage.write_records"
const VERSION: u32 = 1
const POLICY: OperationPolicy = IO_POLICY
const VISIBILITY: Visibility = Visibility::Shared
const REPLAY: ReplaySafety = ReplaySafety::Unknown
const GRPC: Option<Grpc>
type Response = WriteCompletion
type Input = Stream<DataBatch>
type Output = Stream<WriteReceipt>
const DESCRIPTION: &'static str = ""
fn grant(&self) -> Option<Grant>
fn key(&self) -> Option<CacheKey>
Source§impl PartialEq for WriteRecords
impl PartialEq for WriteRecords
impl StructuralPartialEq for WriteRecords
Source§impl Value for WriteRecords
impl Value for WriteRecords
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<WriteRecords, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for WriteRecords
impl RefUnwindSafe for WriteRecords
impl Send for WriteRecords
impl Sync for WriteRecords
impl Unpin for WriteRecords
impl UnsafeUnpin for WriteRecords
impl UnwindSafe for WriteRecords
Blanket Implementations§
impl<T> Allocation for T
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