Change visibility modifier of FormBuilder, FormValue, IntoFormValue from pub to pub(crate)

This commit is contained in:
Waffle 2019-10-15 00:12:33 +03:00
parent 04281bd80a
commit ec0c717593

View file

@ -10,7 +10,7 @@ use crate::types::InputFile;
/// This is a convenient struct that builds `reqwest::multipart::Form`
/// from scratch.
pub struct FormBuilder {
pub(crate) struct FormBuilder {
form: Form,
}
@ -48,12 +48,12 @@ impl FormBuilder {
}
}
pub enum FormValue {
pub(crate) enum FormValue {
File(PathBuf),
Str(String),
}
pub trait IntoFormValue {
pub(crate) trait IntoFormValue {
fn into_form_value(self) -> Option<FormValue>;
}