pub struct UnsendMessagesIntentResponse(/* private fields */);Expand description
Wraps INUnsendMessagesIntentResponse.
Implementations§
Source§impl UnsendMessagesIntentResponse
impl UnsendMessagesIntentResponse
Sourcepub const OBJC_CLASS: &'static str = "INUnsendMessagesIntentResponse"
pub const OBJC_CLASS: &'static str = "INUnsendMessagesIntentResponse"
Objective-C class name for INUnsendMessagesIntentResponse.
Sourcepub fn new(
code: UnsendMessagesIntentResponseCode,
user_activity: Option<&UserActivity>,
) -> Result<Self, IntentsError>
pub fn new( code: UnsendMessagesIntentResponseCode, user_activity: Option<&UserActivity>, ) -> Result<Self, IntentsError>
Wraps the corresponding member on INUnsendMessagesIntentResponse.
Sourcepub fn class_name(&self) -> String
pub fn class_name(&self) -> String
Returns the Objective-C class name for this INUnsendMessagesIntentResponse instance.
Sourcepub fn code(&self) -> UnsendMessagesIntentResponseCode
pub fn code(&self) -> UnsendMessagesIntentResponseCode
Wraps the corresponding member on INUnsendMessagesIntentResponse.
Methods from Deref<Target = IntentResponse>§
Sourcepub fn class_name(&self) -> String
pub fn class_name(&self) -> String
Returns the Objective-C class name for this INIntentResponse instance.
Sourcepub fn result_code(&self) -> Option<i64>
pub fn result_code(&self) -> Option<i64>
Returns the corresponding value from INIntentResponse.
Sourcepub fn user_activity(&self) -> Option<UserActivity>
pub fn user_activity(&self) -> Option<UserActivity>
Returns the corresponding value from INIntentResponse.
Sourcepub fn user_activity_type(&self) -> Option<String>
pub fn user_activity_type(&self) -> Option<String>
Returns the corresponding value from INIntentResponse.
Trait Implementations§
Source§impl Debug for UnsendMessagesIntentResponse
impl Debug for UnsendMessagesIntentResponse
Source§impl Deref for UnsendMessagesIntentResponse
impl Deref for UnsendMessagesIntentResponse
Source§impl From<UnsendMessagesIntentResponse> for IntentResponse
impl From<UnsendMessagesIntentResponse> for IntentResponse
Source§fn from(response: UnsendMessagesIntentResponse) -> Self
fn from(response: UnsendMessagesIntentResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<IntentResponse> for UnsendMessagesIntentResponse
impl TryFrom<IntentResponse> for UnsendMessagesIntentResponse
Source§type Error = IntentsError
type Error = IntentsError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for UnsendMessagesIntentResponse
impl RefUnwindSafe for UnsendMessagesIntentResponse
impl !Send for UnsendMessagesIntentResponse
impl !Sync for UnsendMessagesIntentResponse
impl Unpin for UnsendMessagesIntentResponse
impl UnsafeUnpin for UnsendMessagesIntentResponse
impl UnwindSafe for UnsendMessagesIntentResponse
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