mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Change visibility modifier of FormBuilder
, FormValue
, IntoFormValue
from pub
to pub(crate)
This commit is contained in:
parent
04281bd80a
commit
ec0c717593
1 changed files with 3 additions and 3 deletions
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue