mirror of
https://github.com/JockeTF/fimfareader.git
synced 2024-11-23 22:07:59 +01:00
Hide deserialization functions in story module
This commit is contained in:
parent
dbebf22d42
commit
1d757327f1
1 changed files with 3 additions and 3 deletions
|
@ -152,7 +152,7 @@ pub struct Tag {
|
||||||
pub url: String,
|
pub url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn null_to_html<'de, D>(d: D) -> Result<String, D::Error>
|
fn null_to_html<'de, D>(d: D) -> Result<String, D::Error>
|
||||||
where
|
where
|
||||||
D: Deserializer<'de>,
|
D: Deserializer<'de>,
|
||||||
{
|
{
|
||||||
|
@ -162,7 +162,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn null_to_text<'de, D>(d: D) -> Result<String, D::Error>
|
fn null_to_text<'de, D>(d: D) -> Result<String, D::Error>
|
||||||
where
|
where
|
||||||
D: Deserializer<'de>,
|
D: Deserializer<'de>,
|
||||||
{
|
{
|
||||||
|
@ -172,7 +172,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn string_to_id<'de, D>(d: D) -> Result<i64, D::Error>
|
fn string_to_id<'de, D>(d: D) -> Result<i64, D::Error>
|
||||||
where
|
where
|
||||||
D: Deserializer<'de>,
|
D: Deserializer<'de>,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue