<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __struct_params_s(obj, separator=', ', f=repr, fmt='%s = %s'):
 """method wrapper for printing all elements of a struct"""

    s = separator.join([__single_param(obj, n, f, fmt) for n in dir(obj) if __inc_param(obj, n)])
    return s