pub struct Message {
pub reason: MessageReason,
pub localized_reason: Option<String>,
}Expand description
Wraps StoreKit.Message.
Fields§
§reason: MessageReasonReason reported by StoreKit.
localized_reason: Option<String>Localized reason reported by StoreKit.
Implementations§
Source§impl Message
impl Message
Sourcepub const fn is_supported() -> bool
pub const fn is_supported() -> bool
Returns whether StoreKit.Message is available on this platform.
Sourcepub fn messages() -> Result<MessageStream, StoreKitError>
pub fn messages() -> Result<MessageStream, StoreKitError>
Returns the StoreKit message stream when the API is available on this platform.
Trait Implementations§
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Forget for Message
impl Freeze for Message
impl Move for Message
impl RefUnwindSafe for Message
impl Send for Messagewhere
RawVecInner: Send,
impl Sync for Messagewhere
RawVecInner: Sync,
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Messagewhere
RawVecInner: UnwindSafe,
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