pub unsafe extern "C" fn cass_user_type_set_duration_by_name(
    user_type: *mut CassUserType,
    name: *const c_char,
    months: cass_int32_t,
    days: cass_int32_t,
    nanos: cass_int64_t
) -> CassError
Expand description

Sets “duration” in a user defined type at the specified name.

@cassandra{3.10+}

@public @memberof CassUserType

@param[in] user_type @param[in] name @param[in] months @param[in] days @param[in] nanos @return CASS_OK if successful, otherwise an error occurred.