Struct pgrx_pg_sys::DecodedBkpBlock
source · #[repr(C)]pub struct DecodedBkpBlock {Show 16 fields
pub in_use: bool,
pub rnode: RelFileNode,
pub forknum: ForkNumber,
pub blkno: BlockNumber,
pub flags: uint8,
pub has_image: bool,
pub apply_image: bool,
pub bkp_image: *mut c_char,
pub hole_offset: uint16,
pub hole_length: uint16,
pub bimg_len: uint16,
pub bimg_info: uint8,
pub has_data: bool,
pub data: *mut c_char,
pub data_len: uint16,
pub data_bufsz: uint16,
}
Fields§
§in_use: bool
§rnode: RelFileNode
§forknum: ForkNumber
§blkno: BlockNumber
§flags: uint8
§has_image: bool
§apply_image: bool
§bkp_image: *mut c_char
§hole_offset: uint16
§hole_length: uint16
§bimg_len: uint16
§bimg_info: uint8
§has_data: bool
§data: *mut c_char
§data_len: uint16
§data_bufsz: uint16
Trait Implementations§
source§impl Clone for DecodedBkpBlock
impl Clone for DecodedBkpBlock
source§fn clone(&self) -> DecodedBkpBlock
fn clone(&self) -> DecodedBkpBlock
Returns a copy 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 DecodedBkpBlock
impl Debug for DecodedBkpBlock
source§impl Default for DecodedBkpBlock
impl Default for DecodedBkpBlock
impl Copy for DecodedBkpBlock
Auto Trait Implementations§
impl Freeze for DecodedBkpBlock
impl RefUnwindSafe for DecodedBkpBlock
impl !Send for DecodedBkpBlock
impl !Sync for DecodedBkpBlock
impl Unpin for DecodedBkpBlock
impl UnwindSafe for DecodedBkpBlock
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