pub struct PushMessageContentLocation {
pub is_live: bool,
pub is_pinned: bool,
}
Expand description
A message with a location
Fields§
§is_live: bool
True, if the location is live
is_pinned: bool
True, if the message is a pinned message with the specified content
Trait Implementations§
Source§impl Clone for PushMessageContentLocation
impl Clone for PushMessageContentLocation
Source§fn clone(&self) -> PushMessageContentLocation
fn clone(&self) -> PushMessageContentLocation
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 PushMessageContentLocation
impl Debug for PushMessageContentLocation
Source§impl Default for PushMessageContentLocation
impl Default for PushMessageContentLocation
Source§fn default() -> PushMessageContentLocation
fn default() -> PushMessageContentLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushMessageContentLocation
impl<'de> Deserialize<'de> for PushMessageContentLocation
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
impl StructuralPartialEq for PushMessageContentLocation
Auto Trait Implementations§
impl Freeze for PushMessageContentLocation
impl RefUnwindSafe for PushMessageContentLocation
impl Send for PushMessageContentLocation
impl Sync for PushMessageContentLocation
impl Unpin for PushMessageContentLocation
impl UnwindSafe for PushMessageContentLocation
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