Struct autopush_common::db::CheckStorageResponse
source · pub struct CheckStorageResponse {
pub include_topic: bool,
pub messages: Vec<Notification>,
pub timestamp: Option<u64>,
}
Fields§
§include_topic: bool
The messages include a “topic” “topics” are messages that replace prior messages of that topic. (e.g. you can only have one message for a topic of “foo”)
messages: Vec<Notification>
The list of pending messages.
timestamp: Option<u64>
All the messages up to this timestamp
Trait Implementations§
source§impl Clone for CheckStorageResponse
impl Clone for CheckStorageResponse
source§fn clone(&self) -> CheckStorageResponse
fn clone(&self) -> CheckStorageResponse
Returns a copy 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 CheckStorageResponse
impl Debug for CheckStorageResponse
source§impl Default for CheckStorageResponse
impl Default for CheckStorageResponse
source§fn default() -> CheckStorageResponse
fn default() -> CheckStorageResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckStorageResponse
impl RefUnwindSafe for CheckStorageResponse
impl Send for CheckStorageResponse
impl Sync for CheckStorageResponse
impl Unpin for CheckStorageResponse
impl UnwindSafe for CheckStorageResponse
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)