[][src]Function ejdb_sys::bson_append_timestamp

pub unsafe extern "C" fn bson_append_timestamp(
    b: *mut bson,
    name: *const c_char,
    ts: *mut bson_timestamp_t
) -> c_int

Append a bson_timestamp_t value to a bson.

@param b the bson to append to. @param name the key for the timestampe value. @param ts the bson_timestamp_t value to append.

@return BSON_OK or BSON_ERROR.