pub struct InboxInfo {
pub inbox_id: String,
pub three_word_address: String,
pub owner: PeerId,
pub created_at: SystemTime,
pub message_count: usize,
pub is_accessible: bool,
}
Expand description
Inbox information returned to users
Fields§
§inbox_id: String
§three_word_address: String
§owner: PeerId
§created_at: SystemTime
§message_count: usize
§is_accessible: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InboxInfo
impl<'de> Deserialize<'de> for InboxInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InboxInfo
impl RefUnwindSafe for InboxInfo
impl Send for InboxInfo
impl Sync for InboxInfo
impl Unpin for InboxInfo
impl UnwindSafe for InboxInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more