pub struct MetadataHeader {
pub signature: u32,
pub major_version: u16,
pub minor_version: u16,
pub reserved: u32,
pub version_length: u32,
pub version_string: String,
pub flags: u16,
pub streams: u16,
}Expand description
Legacy metadata header structure for backward compatibility.
Fields§
§signature: u32The magic number, typically 0x424A5342 (BSJB).
major_version: u16The major version of the metadata format.
minor_version: u16The minor version of the metadata format.
reserved: u32Reserved field, typically 0.
version_length: u32The length of the runtime version string.
version_string: StringThe runtime version string content.
flags: u16Metadata flags.
streams: u16The number of metadata streams.
Trait Implementations§
Source§impl Clone for MetadataHeader
impl Clone for MetadataHeader
Source§fn clone(&self) -> MetadataHeader
fn clone(&self) -> MetadataHeader
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 moreAuto Trait Implementations§
impl Freeze for MetadataHeader
impl RefUnwindSafe for MetadataHeader
impl Send for MetadataHeader
impl Sync for MetadataHeader
impl Unpin for MetadataHeader
impl UnsafeUnpin for MetadataHeader
impl UnwindSafe for MetadataHeader
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