#[repr(transparent)]pub struct ManifestFileInfo(pub [u8; 32]);Tuple Fields§
§0: [u8; 32]Implementations§
Source§impl<'a> ManifestFileInfo
impl<'a> ManifestFileInfo
pub fn new(id: &ObjectId12, size_bytes: u64, num_chunk_refs: u32) -> Self
pub fn id(&self) -> &ObjectId12
pub fn set_id(&mut self, x: &ObjectId12)
pub fn size_bytes(&self) -> u64
pub fn set_size_bytes(&mut self, x: u64)
pub fn num_chunk_refs(&self) -> u32
pub fn set_num_chunk_refs(&mut self, x: u32)
Trait Implementations§
Source§impl Clone for ManifestFileInfo
impl Clone for ManifestFileInfo
Source§fn clone(&self) -> ManifestFileInfo
fn clone(&self) -> ManifestFileInfo
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 Copy for ManifestFileInfo
Source§impl Debug for ManifestFileInfo
impl Debug for ManifestFileInfo
Source§impl Default for ManifestFileInfo
impl Default for ManifestFileInfo
Source§impl<'a> Follow<'a> for ManifestFileInfo
impl<'a> Follow<'a> for ManifestFileInfo
Source§impl<'a> Follow<'a> for &'a ManifestFileInfo
impl<'a> Follow<'a> for &'a ManifestFileInfo
Source§impl From<&ManifestFileInfo> for ManifestFileInfo
impl From<&ManifestFileInfo> for ManifestFileInfo
Source§fn from(value: &ManifestFileInfo) -> Self
fn from(value: &ManifestFileInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ManifestFileInfo
impl PartialEq for ManifestFileInfo
Source§impl<'b> Push for ManifestFileInfo
impl<'b> Push for ManifestFileInfo
impl SimpleToVerifyInSlice for ManifestFileInfo
impl StructuralPartialEq for ManifestFileInfo
Source§impl<'a> Verifiable for ManifestFileInfo
impl<'a> Verifiable for ManifestFileInfo
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.Auto Trait Implementations§
impl Freeze for ManifestFileInfo
impl RefUnwindSafe for ManifestFileInfo
impl Send for ManifestFileInfo
impl Sync for ManifestFileInfo
impl Unpin for ManifestFileInfo
impl UnsafeUnpin for ManifestFileInfo
impl UnwindSafe for ManifestFileInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more