multipart_form/field
Types
pub type FormBody {
String(String)
StringWithType(content: String, content_type: String)
File(name: String, content_type: String, content: BitArray)
}
Constructors
-
String(String)
-
StringWithType(content: String, content_type: String)
-
File(name: String, content_type: String, content: BitArray)
Values
pub fn to_bit_array(
field_name field: String,
field_body element: FormBody,
boundary boundary: String,
) -> BitArray