pub struct CatalogPage {
pub entries: Vec<u8>,
pub next: Option<String>,
}Fields§
§entries: Vec<u8>§next: Option<String>Trait Implementations§
Source§impl Clone for CatalogPage
impl Clone for CatalogPage
Source§fn clone(&self) -> CatalogPage
fn clone(&self) -> CatalogPage
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 CatalogPage
impl Debug for CatalogPage
Source§impl Default for CatalogPage
impl Default for CatalogPage
Source§fn default() -> CatalogPage
fn default() -> CatalogPage
Returns the “default value” for a type. Read more
Source§impl Described for CatalogPage
impl Described for CatalogPage
impl Eq for CatalogPage
Source§impl MemorySize for CatalogPage
impl MemorySize for CatalogPage
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl PartialEq for CatalogPage
impl PartialEq for CatalogPage
impl StructuralPartialEq for CatalogPage
Source§impl Value for CatalogPage
impl Value for CatalogPage
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<CatalogPage, 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 CatalogPage
impl RefUnwindSafe for CatalogPage
impl Send for CatalogPage
impl Sync for CatalogPage
impl Unpin for CatalogPage
impl UnsafeUnpin for CatalogPage
impl UnwindSafe for CatalogPage
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