pub struct Entry {Show 20 fields
pub dump_id: i32,
pub had_dumper: bool,
pub table_oid: String,
pub oid: String,
pub tag: Option<String>,
pub desc: ObjectType,
pub section: Section,
pub defn: Option<String>,
pub drop_stmt: Option<String>,
pub copy_stmt: Option<String>,
pub namespace: Option<String>,
pub tablespace: Option<String>,
pub tableam: Option<String>,
pub relkind: Option<char>,
pub owner: Option<String>,
pub with_oids: bool,
pub dependencies: Vec<i32>,
pub data_state: OffsetState,
pub offset: u64,
pub filename: Option<String>,
}Fields§
§dump_id: i32§had_dumper: bool§table_oid: String§oid: String§tag: Option<String>§desc: ObjectType§section: Section§defn: Option<String>§drop_stmt: Option<String>§copy_stmt: Option<String>§namespace: Option<String>§tablespace: Option<String>§tableam: Option<String>§relkind: Option<char>§owner: Option<String>§with_oids: bool§dependencies: Vec<i32>§data_state: OffsetStateCustom format: offset state (set, not set, no data).
offset: u64Custom format: byte offset of this entry’s data in the archive file.
filename: Option<String>Directory/tar format: relative filename for this entry’s data file.
Implementations§
Source§impl Entry
impl Entry
Sourcepub fn computed_section(&self) -> Section
pub fn computed_section(&self) -> Section
Computes the section from the object type.
This is a derived value and may differ from Entry::section, which
holds the section as read from the archive file.
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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