pub struct UpdateServiceNotification {
pub type_: String,
pub content: MessageContent,
}
Expand description
Service notification from the server. Upon receiving this the client must show a popup with the content of the notification
Fields§
§type_: String
Notification type. If type begins with “AUTH_KEY_DROP_”, then two buttons “Cancel” and “Log out” should be shown under notification; if user presses the second, all local data should be destroyed using Destroy method
content: MessageContent
Notification content
Trait Implementations§
Source§impl Clone for UpdateServiceNotification
impl Clone for UpdateServiceNotification
Source§fn clone(&self) -> UpdateServiceNotification
fn clone(&self) -> UpdateServiceNotification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateServiceNotification
impl Debug for UpdateServiceNotification
Source§impl<'de> Deserialize<'de> for UpdateServiceNotification
impl<'de> Deserialize<'de> for UpdateServiceNotification
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 UpdateServiceNotification
impl RefUnwindSafe for UpdateServiceNotification
impl Send for UpdateServiceNotification
impl Sync for UpdateServiceNotification
impl Unpin for UpdateServiceNotification
impl UnwindSafe for UpdateServiceNotification
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