#[repr(transparent)]pub struct MessageComposeResult(pub NSInteger);
Available on crate feature
MFMessageComposeViewController
only.Expand description
Composition result sent to the delegate upon user completion.
This result will inform the client of the user’s message composition action. If the user cancels the composition, MessageComposeResultCancelled will be sent to the delegate. Typically MessageComposeResultSent will be sent, but MessageComposeResultFailed will be sent in the case of failure.
Send may only be interpreted as a successful queueing of the message for later sending. The actual send will occur when the device is able to send.See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Trait Implementations§
Source§impl Clone for MessageComposeResult
impl Clone for MessageComposeResult
Source§fn clone(&self) -> MessageComposeResult
fn clone(&self) -> MessageComposeResult
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 MessageComposeResult
impl Debug for MessageComposeResult
Source§impl Encode for MessageComposeResult
impl Encode for MessageComposeResult
Source§impl Hash for MessageComposeResult
impl Hash for MessageComposeResult
Source§impl Ord for MessageComposeResult
impl Ord for MessageComposeResult
Source§fn cmp(&self, other: &MessageComposeResult) -> Ordering
fn cmp(&self, other: &MessageComposeResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MessageComposeResult
impl PartialEq for MessageComposeResult
Source§impl PartialOrd for MessageComposeResult
impl PartialOrd for MessageComposeResult
Source§impl RefEncode for MessageComposeResult
impl RefEncode for MessageComposeResult
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MessageComposeResult
impl Eq for MessageComposeResult
impl StructuralPartialEq for MessageComposeResult
Auto Trait Implementations§
impl Freeze for MessageComposeResult
impl RefUnwindSafe for MessageComposeResult
impl Send for MessageComposeResult
impl Sync for MessageComposeResult
impl Unpin for MessageComposeResult
impl UnwindSafe for MessageComposeResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.