pub struct MessageLinkMetadata { /* private fields */ }Expand description
Wraps INMessageLinkMetadata.
Implementations§
Source§impl MessageLinkMetadata
impl MessageLinkMetadata
Sourcepub const OBJC_CLASS: &'static str = "INMessageLinkMetadata"
pub const OBJC_CLASS: &'static str = "INMessageLinkMetadata"
Objective-C class name for INMessageLinkMetadata.
Sourcepub fn class_name(&self) -> String
pub fn class_name(&self) -> String
Returns the Objective-C class name for this INMessageLinkMetadata instance.
Source§impl MessageLinkMetadata
impl MessageLinkMetadata
Sourcepub fn new(
site_name: Option<&str>,
summary: Option<&str>,
title: Option<&str>,
open_graph_type: Option<&str>,
link_url: Option<&str>,
) -> Result<Self, IntentsError>
pub fn new( site_name: Option<&str>, summary: Option<&str>, title: Option<&str>, open_graph_type: Option<&str>, link_url: Option<&str>, ) -> Result<Self, IntentsError>
Creates a INMessageLinkMetadata wrapper.
Sourcepub fn site_name(&self) -> Option<String>
pub fn site_name(&self) -> Option<String>
Returns the corresponding value from INMessageLinkMetadata.
Sourcepub fn summary(&self) -> Option<String>
pub fn summary(&self) -> Option<String>
Returns the corresponding value from INMessageLinkMetadata.
Sourcepub fn title(&self) -> Option<String>
pub fn title(&self) -> Option<String>
Returns the corresponding value from INMessageLinkMetadata.
Sourcepub fn open_graph_type(&self) -> Option<String>
pub fn open_graph_type(&self) -> Option<String>
Returns the corresponding value from INMessageLinkMetadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MessageLinkMetadata
impl RefUnwindSafe for MessageLinkMetadata
impl !Send for MessageLinkMetadata
impl !Sync for MessageLinkMetadata
impl Unpin for MessageLinkMetadata
impl UnsafeUnpin for MessageLinkMetadata
impl UnwindSafe for MessageLinkMetadata
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