Struct emscripten_sys::emscripten_fetch_attr_t [] [src]

#[repr(C)]
pub struct emscripten_fetch_attr_t { pub requestMethod: [c_char; 32], pub userData: *mut c_void, pub onsuccess: Option<unsafe extern fn(_: *mut emscripten_fetch_t)>, pub onerror: Option<unsafe extern fn(_: *mut emscripten_fetch_t)>, pub onprogress: Option<unsafe extern fn(_: *mut emscripten_fetch_t)>, pub attributes: u32, pub timeoutMSecs: c_ulong, pub withCredentials: c_int, pub destinationPath: *const c_char, pub userName: *const c_char, pub password: *const c_char, pub requestHeaders: *const *const c_char, pub overriddenMimeType: *const c_char, pub requestData: *const c_char, pub requestDataSize: usize, }

Fields

Trait Implementations

impl Debug for emscripten_fetch_attr_t
[src]

Formats the value using the given formatter.

impl Copy for emscripten_fetch_attr_t
[src]

impl Clone for emscripten_fetch_attr_t
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more