mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
Add more documentation
This commit is contained in:
@@ -114,12 +114,12 @@ pub struct WebxdcInfo {
|
||||
pub struct StatusUpdateSerial(u32);
|
||||
|
||||
impl StatusUpdateSerial {
|
||||
/// Create a new [MsgId].
|
||||
/// Create a new [StatusUpdateSerial].
|
||||
pub fn new(id: u32) -> StatusUpdateSerial {
|
||||
StatusUpdateSerial(id)
|
||||
}
|
||||
|
||||
/// Gets StatusUpdateId as untyped integer.
|
||||
/// Gets StatusUpdateSerial as untyped integer.
|
||||
/// Avoid using this outside ffi.
|
||||
pub fn to_u32(self) -> u32 {
|
||||
self.0
|
||||
|
||||
Reference in New Issue
Block a user