pub struct SearchForMessagesIntent(/* private fields */);Expand description
Wraps INSearchForMessagesIntent.
Implementations§
Source§impl SearchForMessagesIntent
impl SearchForMessagesIntent
Sourcepub const OBJC_CLASS: &'static str = "INSearchForMessagesIntent"
pub const OBJC_CLASS: &'static str = "INSearchForMessagesIntent"
Objective-C class name for INSearchForMessagesIntent.
Sourcepub fn class_name(&self) -> String
pub fn class_name(&self) -> String
Returns the Objective-C class name for this INSearchForMessagesIntent instance.
Source§impl SearchForMessagesIntent
impl SearchForMessagesIntent
Sourcepub fn search_terms(&self) -> Result<Option<Vec<String>>, IntentsError>
pub fn search_terms(&self) -> Result<Option<Vec<String>>, IntentsError>
Wraps the corresponding method on INSearchForMessagesIntent.
Sourcepub fn identifiers(&self) -> Result<Option<Vec<String>>, IntentsError>
pub fn identifiers(&self) -> Result<Option<Vec<String>>, IntentsError>
Wraps the corresponding method on INSearchForMessagesIntent.
Sourcepub fn attributes(&self) -> Option<i64>
pub fn attributes(&self) -> Option<i64>
Returns the corresponding value from INSearchForMessagesIntent.
Methods from Deref<Target = Intent>§
Sourcepub fn class_name(&self) -> String
pub fn class_name(&self) -> String
Returns the Objective-C class name for this INIntent instance.
Sourcepub fn identifier(&self) -> Option<String>
pub fn identifier(&self) -> Option<String>
Returns the corresponding value from INIntent.
Sourcepub fn intent_description(&self) -> Option<String>
pub fn intent_description(&self) -> Option<String>
Returns the corresponding value from INIntent.
Sourcepub fn suggested_invocation_phrase(&self) -> Option<String>
pub fn suggested_invocation_phrase(&self) -> Option<String>
Returns the corresponding value from INIntent.
Sourcepub fn donation_metadata(&self) -> Option<IntentDonationMetadata>
pub fn donation_metadata(&self) -> Option<IntentDonationMetadata>
Returns the corresponding value from INIntent.
Sourcepub fn image_for_parameter_named(
&self,
parameter_name: &str,
) -> Result<Option<Image>, IntentsError>
pub fn image_for_parameter_named( &self, parameter_name: &str, ) -> Result<Option<Image>, IntentsError>
Returns the corresponding value from INIntent.
Trait Implementations§
Source§impl Debug for SearchForMessagesIntent
impl Debug for SearchForMessagesIntent
Source§impl Deref for SearchForMessagesIntent
impl Deref for SearchForMessagesIntent
Source§impl From<SearchForMessagesIntent> for Intent
impl From<SearchForMessagesIntent> for Intent
Source§fn from(intent: SearchForMessagesIntent) -> Self
fn from(intent: SearchForMessagesIntent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SearchForMessagesIntent
impl RefUnwindSafe for SearchForMessagesIntent
impl !Send for SearchForMessagesIntent
impl !Sync for SearchForMessagesIntent
impl Unpin for SearchForMessagesIntent
impl UnsafeUnpin for SearchForMessagesIntent
impl UnwindSafe for SearchForMessagesIntent
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