Struct tskit::bindings::tsk_provenance_t
source · #[repr(C)]pub struct tsk_provenance_t {
pub id: tsk_id_t,
pub timestamp: *const c_char,
pub timestamp_length: tsk_size_t,
pub record: *const c_char,
pub record_length: tsk_size_t,
}
Expand description
@brief A single provenance defined by a row in the provenance table.
@rst
See the :ref:data model <sec_data_model_definitions>
section for the definition of
a provenance object and its properties. See the :ref:sec_provenance
section
for more information on how provenance records should be structured.
@endrst
Fields§
§id: tsk_id_t
@brief Non-negative ID value corresponding to table row.
timestamp: *const c_char
@brief The timestamp.
timestamp_length: tsk_size_t
@brief The timestamp length in bytes.
record: *const c_char
@brief The record.
record_length: tsk_size_t
@brief The record length in bytes.
Trait Implementations§
source§impl Clone for tsk_provenance_t
impl Clone for tsk_provenance_t
source§fn clone(&self) -> tsk_provenance_t
fn clone(&self) -> tsk_provenance_t
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 more