mirror of https://github.com/LemmyNet/lemmy.git
Add comment about simpler client implementation.
parent
1ea9f034bc
commit
87c04ddf00
|
@ -98,6 +98,8 @@ pub struct BanFromCommunity {
|
||||||
pub remove_data: Option<bool>,
|
pub remove_data: Option<bool>,
|
||||||
pub reason: Option<String>,
|
pub reason: Option<String>,
|
||||||
/// A time that the ban will expire, in unix epoch seconds.
|
/// A time that the ban will expire, in unix epoch seconds.
|
||||||
|
///
|
||||||
|
/// A simple i64 unix timestamp is used for a simpler API client implementation.
|
||||||
pub expires: Option<i64>,
|
pub expires: Option<i64>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -215,6 +215,8 @@ pub struct BanPerson {
|
||||||
pub remove_data: Option<bool>,
|
pub remove_data: Option<bool>,
|
||||||
pub reason: Option<String>,
|
pub reason: Option<String>,
|
||||||
/// A time that the ban will expire, in unix epoch seconds.
|
/// A time that the ban will expire, in unix epoch seconds.
|
||||||
|
///
|
||||||
|
/// A simple i64 unix timestamp is used for a simpler API client implementation.
|
||||||
pub expires: Option<i64>,
|
pub expires: Option<i64>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue