Struct pgx_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
sourceimpl Clone for DecodedBkpBlock
impl Clone for DecodedBkpBlock
sourcefn clone(&self) -> DecodedBkpBlock
fn clone(&self) -> DecodedBkpBlock
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DecodedBkpBlock
impl Debug for DecodedBkpBlock
sourceimpl Default for DecodedBkpBlock
impl Default for DecodedBkpBlock
impl Copy for DecodedBkpBlock
Auto Trait Implementations
impl RefUnwindSafe for DecodedBkpBlock
impl !Send for DecodedBkpBlock
impl !Sync for DecodedBkpBlock
impl Unpin for DecodedBkpBlock
impl UnwindSafe for DecodedBkpBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more