pub struct DecodedHeader {
pub disc: u8,
pub version: u8,
pub flags: u16,
pub layout_id: [u8; 8],
pub reserved: [u8; 4],
}Expand description
Decoded account header for inspection/tooling.
Fields§
§disc: u8§version: u8§flags: u16§layout_id: [u8; 8]§reserved: [u8; 4]Trait Implementations§
Source§impl Clone for DecodedHeader
impl Clone for DecodedHeader
Source§fn clone(&self) -> DecodedHeader
fn clone(&self) -> DecodedHeader
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 DecodedHeader
impl Debug for DecodedHeader
Source§impl Display for DecodedHeader
impl Display for DecodedHeader
impl Copy for DecodedHeader
Auto Trait Implementations§
impl Freeze for DecodedHeader
impl RefUnwindSafe for DecodedHeader
impl Send for DecodedHeader
impl Sync for DecodedHeader
impl Unpin for DecodedHeader
impl UnsafeUnpin for DecodedHeader
impl UnwindSafe for DecodedHeader
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