pub struct OwnedStoredRecord {
pub kind: FrameKind,
pub flags: u8,
pub position: u64,
pub envelope: RecordEnvelopeV2,
pub payload: Vec<u8>,
}Fields§
§kind: FrameKind§flags: u8§position: u64§envelope: RecordEnvelopeV2§payload: Vec<u8>Implementations§
Source§impl OwnedStoredRecord
impl OwnedStoredRecord
pub fn as_borrowed(&self) -> StoredRecord<'_>
Trait Implementations§
Source§impl Clone for OwnedStoredRecord
impl Clone for OwnedStoredRecord
Source§fn clone(&self) -> OwnedStoredRecord
fn clone(&self) -> OwnedStoredRecord
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 Debug for OwnedStoredRecord
impl Debug for OwnedStoredRecord
impl Eq for OwnedStoredRecord
Source§impl From<StoredRecord<'_>> for OwnedStoredRecord
impl From<StoredRecord<'_>> for OwnedStoredRecord
Source§fn from(value: StoredRecord<'_>) -> Self
fn from(value: StoredRecord<'_>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OwnedStoredRecord
impl PartialEq for OwnedStoredRecord
impl StructuralPartialEq for OwnedStoredRecord
Auto Trait Implementations§
impl Freeze for OwnedStoredRecord
impl RefUnwindSafe for OwnedStoredRecord
impl Send for OwnedStoredRecord
impl Sync for OwnedStoredRecord
impl Unpin for OwnedStoredRecord
impl UnsafeUnpin for OwnedStoredRecord
impl UnwindSafe for OwnedStoredRecord
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