pub fn is_multipart(&self) -> bool {
        match self.body_type {
            BodyType::Multipart => true,
            BodyType::Form => self.has_form_files(),
            BodyType::Json => false,
        }
    }
/// Determine whether a multipart request should be used.
///
/// This duplicates logic in `body()` for the benefit of `to_curl`.
Determine whether a multipart request should be used.
This duplicates logic in `body()` for the benefit of `to_curl`.
Determine whether a multipart request should be used . This duplicates logic in ` body () ` for the benefit of ` to_curl ` .
pub fn is_multipart(&self) -> bool {
        match self.body_type {
            BodyType::Multipart => true,
            BodyType::Form => self.has_form_files(),
            BodyType::Json => false,
        }
    }
pub fn is_multipart ( & self ) -> bool { match self . body_type { BodyType :: Multipart => true , BodyType :: Form => self . has_form_files ( ) , BodyType :: Json => false , } }
Determine whether a multipart request should be used.
Determine whether a multipart request should be used .
&self
&self