pub struct AttachmentIndex {
pub offset: u64,
pub length: u64,
pub log_time: u64,
pub create_time: u64,
pub data_size: u64,
pub name: String,
pub content_type: String,
}Fields§
§offset: u64§length: u64§log_time: u64§create_time: u64§data_size: u64§name: String§content_type: StringTrait Implementations§
Source§impl BinRead for AttachmentIndex
impl BinRead for AttachmentIndex
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_options: &ReadOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read
Self from the reader using the given ReadOptions and
arguments.Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments.Source§impl BinWrite for AttachmentIndex
impl BinWrite for AttachmentIndex
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to write this type, usually a tuple. Read more
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_options: &WriteOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_options: &WriteOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<()>
Write the type to a writer, given the options on how to write it and the type-specific
arguments
Source§impl Clone for AttachmentIndex
impl Clone for AttachmentIndex
Source§fn clone(&self) -> AttachmentIndex
fn clone(&self) -> AttachmentIndex
Returns a duplicate of the value. Read more
1.0.0 · 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 AttachmentIndex
impl Debug for AttachmentIndex
Source§impl PartialEq for AttachmentIndex
impl PartialEq for AttachmentIndex
impl Eq for AttachmentIndex
impl StructuralPartialEq for AttachmentIndex
Auto Trait Implementations§
impl Freeze for AttachmentIndex
impl RefUnwindSafe for AttachmentIndex
impl Send for AttachmentIndex
impl Sync for AttachmentIndex
impl Unpin for AttachmentIndex
impl UnwindSafe for AttachmentIndex
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